Skip to content

Commit

Permalink
Released Restlet Framework 2.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
thboileau committed Dec 20, 2016
1 parent 48754d3 commit 1571731
Show file tree
Hide file tree
Showing 12 changed files with 108 additions and 156 deletions.
4 changes: 2 additions & 2 deletions build/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
major-number: 2
minor-number: 3
# the last figure of the real release number: e.g. 1 in "2.2m1", "2.3rc1", "2.4.1"
release-number:8
release-number:9
# choose among: final, snapshot, rc, milestone
meta.release-type: snapshot
meta.release-type: final
version-minor: ${major-number}.${minor-number}

# Version of JDK required
Expand Down
3 changes: 2 additions & 1 deletion build/tmpl/text/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
Changes log
===========

- @version-full@ (@release-date@)
- 2.3.9 (12/19/2016)
- Bugs fixed
- In IE 10 and seq., request without body are sent with an "undefined" body. Issue #1252.
Reported by Etienne Griette.
- Fixed potential NPE when a queue returns null in PipeStream. Issue #1246.
Reported and contributed by Grégoire Juge.

- 2.3.8 (12/10/2016)
- Bugs fixed
- Fixed NullPointerException when requesting a Directory with a query string. Issue #1206.
Expand Down
2 changes: 1 addition & 1 deletion libraries/com.thoughtworks.xstream_1.4/library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
<distribution id="classic" />
</distributions>
<javadocs>
<link href="http://xstream.codehaus.org/javadoc/" />
<link href="http://x-stream.github.io/javadoc/" />
</javadocs>
</library>
2 changes: 1 addition & 1 deletion libraries/org.apache.commons.collections_3.2/library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<distribution id="classic" />
</distributions>
<javadocs>
<link href="http://commons.apache.org/proper/commons-collections/javadocs/api-3.2.1/" />
<link href="http://commons.apache.org/proper/commons-collections/javadocs/api-3.2.2/" />
</javadocs>
</library>
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public URI buildFromMap(Map<String, ? extends Object> values)
* @throws UriBuilderException
* if a URI cannot be constructed based on the current state of
* the builder.
* @see javax.ws.rs.core.UriBuilder#build(java.util.Map)
* @see javax.ws.rs.core.UriBuilder#buildFromMap(Map)
*/
private URI buildFromMap(final Map<String, ? extends Object> values,
final boolean encode) throws IllegalArgumentException,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public boolean addClass(Class<?> jaxRsClass)
* @return true, if the provider is ok and added, otherwise false.
* @throws IllegalArgumentException
* if null was given
* @see {@link javax.ws.rs.ext.Provider}
* @see class {@link javax.ws.rs.ext.Provider}
*/
private boolean addDefaultProvider(Object jaxRsProvider) {
try {
Expand Down Expand Up @@ -311,7 +311,7 @@ public boolean addSingleton(Object jaxRsProviderOrRootresourceObject)
* @return true, if the provider is ok and added, otherwise false.
* @throws IllegalArgumentException
* if null was given
* @see {@link javax.ws.rs.ext.Provider}
* @see class {@link javax.ws.rs.ext.Provider}
*/
private boolean addSingleton(Object jaxRsProvider, boolean defaultProvider)
throws IllegalArgumentException {
Expand Down Expand Up @@ -483,7 +483,7 @@ private Representation convertToRepresentation(Object entity,
* @param o
* @param subResourceLocator
* @param callContext
* @return
* @return ResourceObject
* @throws WebApplicationException
* @throws RequestHandledException
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ protected String getPassword(Form parameters) throws OAuthException {
* @throws OAuthException
* In case the parameter is not set.
*/
protected String getRedirectURI(Form params) throws OAuthException {
return getParameter(params, REDIR_URI);
protected String getRedirectURI(Form parameters) throws OAuthException {
return getParameter(parameters, REDIR_URI);
}

/**
Expand All @@ -359,8 +359,8 @@ protected String getRedirectURI(Form params) throws OAuthException {
* @throws OAuthException
* In case the parameter is not set.
*/
protected String getRefreshToken(Form params) throws OAuthException {
return getParameter(params, REFRESH_TOKEN);
protected String getRefreshToken(Form parameters) throws OAuthException {
return getParameter(parameters, REFRESH_TOKEN);
}

/**
Expand All @@ -371,8 +371,8 @@ protected String getRefreshToken(Form params) throws OAuthException {
* @throws OAuthException
* In case the parameter is not set.
*/
protected String getUsername(Form params) throws OAuthException {
return getParameter(params, USERNAME);
protected String getUsername(Form parameters) throws OAuthException {
return getParameter(parameters, USERNAME);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ protected RedirectionURI getRedirectionURI(Form parameters, Client client) throw
* @return
* @throws OAuthException
*/
protected ResponseType[] getResponseType(Form params) throws OAuthException {
String responseType = params.getFirstValue(RESPONSE_TYPE);
protected ResponseType[] getResponseType(Form parameters) throws OAuthException {
String responseType = parameters.getFirstValue(RESPONSE_TYPE);
if (StringUtils.isNullOrEmpty(responseType)) {
throw new OAuthException(OAuthError.invalid_request, "No \"response_type\" parameter found.", null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public Reference toReference(String uri) {
/**
* Completes the URI with the OAuth parameters as query parameters.
*
* @param uri
* @param ref
* The URI to complete.
* @return The URI with the set as Oauth parameters as query.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -693,12 +693,10 @@ public static void addResponseHeaders(Response response,
}

/**
* Copies extension headers into a request.
* Remove the headers that are mapped to the framework's API from the given message's list of headers.
*
* @param headers
* The headers to copy.
* @param request
* The request to update.
* @param message
* The message to update.
*/
public static void keepExtensionHeadersOnly(Message message) {
Series<Header> headers = message.getHeaders();
Expand All @@ -719,8 +717,8 @@ public static void keepExtensionHeadersOnly(Message message) {
*
* @param headers
* The headers to copy.
* @param request
* The request to update.
* @param message
* The message to update.
*/
public static void copyExtensionHeaders(Series<Header> headers, Message message) {
if (headers != null) {
Expand Down
Loading

0 comments on commit 1571731

Please sign in to comment.