Skip to content

Commit

Permalink
yegor256#45: Range is there
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Mar 18, 2013
1 parent f870fc8 commit b08796e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void throwsWhenAbsentResource() throws Exception {
.mock()
)
);
host.fetch(URI.create("foo.html"));
host.fetch(URI.create("foo.html"), Range.ENTIRE);
}

}
2 changes: 1 addition & 1 deletion s3auth-relay/src/main/java/com/s3auth/relay/LocalHost.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ final class LocalHost implements Host {
* {@inheritDoc}
*/
@Override
public Resource fetch(@NotNull final URI uri, @NotNull final Range range)
public Resource fetch(@NotNull final URI uri, @NotNull final Range range)
throws IOException {
if (uri.toString().startsWith("/shutdown")) {
throw this.halt(uri.toString());
Expand Down

0 comments on commit b08796e

Please sign in to comment.