mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Redirect to https://zxing.org directly, and touch up a build warning
This commit is contained in:
parent
cf59354cde
commit
5927f6ef09
|
@ -49,6 +49,7 @@
|
|||
<plugin>
|
||||
<groupId>com.github.wvengen</groupId>
|
||||
<artifactId>proguard-maven-plugin</artifactId>
|
||||
<version>${proguard.plugin.version}</version>
|
||||
<configuration>
|
||||
<options combine.children="append">
|
||||
<option>-optimizations !code/simplification/cast,!code/allocation/variable,!field/*,!class/*,!method/*</option>
|
||||
|
|
3
pom.xml
3
pom.xml
|
@ -96,6 +96,7 @@
|
|||
<java.version>1.7</java.version>
|
||||
<maven.version.min>3.2.1</maven.version.min>
|
||||
<proguard.version>5.2.1</proguard.version>
|
||||
<proguard.plugin.version>2.0.13</proguard.plugin.version>
|
||||
<slf4j.version>1.7.21</slf4j.version>
|
||||
<!-- This can't reference project.version as some subprojects version differently -->
|
||||
<zxing.version>3.2.2-SNAPSHOT</zxing.version>
|
||||
|
@ -389,7 +390,7 @@
|
|||
<plugin>
|
||||
<groupId>com.github.wvengen</groupId>
|
||||
<artifactId>proguard-maven-plugin</artifactId>
|
||||
<version>2.0.13</version>
|
||||
<version>${proguard.plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
|
|
|
@ -279,8 +279,7 @@ public final class DecodeServlet extends HttpServlet {
|
|||
log.info("File upload was not multipart");
|
||||
errorResponse(request, response, "badimage");
|
||||
} else {
|
||||
log.info("Decoding uploaded file " + fileUploadPart.getName() + " " +
|
||||
fileUploadPart.getSubmittedFileName());
|
||||
log.info("Decoding uploaded file " + fileUploadPart.getSubmittedFileName());
|
||||
try (InputStream is = fileUploadPart.getInputStream()) {
|
||||
processStream(is, request, response);
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ public final class RedirectFilter implements Filter {
|
|||
redirect(servletResponse, "/w/decode.jspx");
|
||||
} else if (requestURI.startsWith(OLD_JAVADOC_PREFIX)) {
|
||||
String withoutPrefix = requestURI.substring(OLD_JAVADOC_PREFIX.length());
|
||||
redirect(servletResponse, "http://zxing.github.io/zxing/apidocs" + withoutPrefix);
|
||||
redirect(servletResponse, "https://zxing.github.io/zxing/apidocs" + withoutPrefix);
|
||||
} else {
|
||||
filterChain.doFilter(servletRequest, servletResponse);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue