Skip to content

Commit

Permalink
My bad :(
Browse files Browse the repository at this point in the history
  • Loading branch information
LordFokas committed Sep 10, 2016
1 parent cac70b7 commit 151cdb0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -235,7 +235,7 @@ public Response get(UriResource uriResource, Map<String, String> urlParams, IHTT
try {
return Response.newChunkedResponse(getStatus(), getMimeTypeForFile(fileOrdirectory.getName()), fileToInputStream(fileOrdirectory));
} catch (IOException ioe) {
return Response.newFixedLengthResponse(Status.REQUEST_TIMEOUT, "text/plain", null);
return Response.newFixedLengthResponse(Status.REQUEST_TIMEOUT, "text/plain", (String) null);
}
}
}
Expand Down

0 comments on commit 151cdb0

Please sign in to comment.