Skip to content

Commit

Permalink
Made RestClient subclasses RestResponse and UriBuilder public again, …
Browse files Browse the repository at this point in the history
…needed for explicit references for instances of these objects made by RestClient
  • Loading branch information
jonesde committed Nov 25, 2016
1 parent f777cf1 commit 99d7bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moqui-util/src/main/java/org/moqui/util/RestClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public RestResponse call() {
return new RestResponse(this, response);
}

private static class RestResponse {
public static class RestResponse {
private RestClient rci;
protected ContentResponse response;
protected byte[] bytes = null;
Expand Down Expand Up @@ -291,7 +291,7 @@ static String toStringCleanBom(byte[] bytes) throws UnsupportedEncodingException
}
}

private static class UriBuilder {
public static class UriBuilder {
private RestClient rci;
private String protocol = "http";
private String host = (String) null;
Expand Down

0 comments on commit 99d7bd8

Please sign in to comment.