kopia lustrzana https://github.com/gaul/s3proxy
rodzic
407a406734
commit
ba3171a8e7
9
pom.xml
9
pom.xml
|
@ -122,6 +122,15 @@
|
|||
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<configuration>
|
||||
<effort>Max</effort>
|
||||
<omitVisitors>CrossSiteScripting</omitVisitors>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.skife.maven</groupId>
|
||||
<artifactId>really-executable-jar-maven-plugin</artifactId>
|
||||
|
|
|
@ -373,7 +373,7 @@ final class S3ProxyHandler extends AbstractHandler {
|
|||
String maxKeysString = request.getParameter("max-keys");
|
||||
if (maxKeysString != null) {
|
||||
try {
|
||||
maxKeys = Integer.valueOf(maxKeysString);
|
||||
maxKeys = Integer.parseInt(maxKeysString);
|
||||
} catch (NumberFormatException nfe) {
|
||||
sendSimpleErrorResponse(response,
|
||||
HttpServletResponse.SC_BAD_REQUEST, "InvalidArgument",
|
||||
|
|
Ładowanie…
Reference in New Issue