Skip to content

Commit

Permalink
Version 0.2.1-BETA release. Corrected GeneralRequest.get() return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
KPull committed Sep 16, 2016
1 parent a84987e commit 2bfc2ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>rocks.bastion</groupId>
<artifactId>bastion</artifactId>
<version>0.3-SNAPSHOT</version>
<version>0.2.1-BETA</version>

<name>Bastion</name>
<description>A Java library for testing HTTP API endpoints.</description>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/rocks/bastion/core/GeneralRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class GeneralRequest implements HttpRequest {
* @param url A non-{@literal null} URL to send the request on
* @return An HTTP request using the get method
*/
public static HttpRequest get(String url) {
public static GeneralRequest get(String url) {
return new GeneralRequest(HttpMethod.GET, url, EMPTY_BODY);
}

Expand Down

0 comments on commit 2bfc2ec

Please sign in to comment.