Boolean.valueOf() -> Boolean.parseBoolean()

This commit is contained in:
zzz
2021-03-20 12:27:46 -04:00
parent 838295c014
commit b55fbbf099
10 changed files with 17 additions and 17 deletions

View File

@@ -42,10 +42,10 @@ public class JspC {
private static final String THREADS_VERSION_8 = "8.5.33";
private static final String THREADS_VERSION_9 = "9.0.11";
// if true, try to make web.xml reproducible
private static final boolean REPRODUCIBLE = Boolean.valueOf(System.getProperty("build.reproducible"));
private static final boolean REPRODUCIBLE = Boolean.parseBoolean(System.getProperty("build.reproducible"));
// if true, we must get the Tomcat version out of the jasper jar's manifest
private static final boolean SYSTEM_TOMCAT = Boolean.valueOf(System.getProperty("with-libtomcat8-java")) ||
Boolean.valueOf(System.getProperty("with-libtomcat9-java"));
private static final boolean SYSTEM_TOMCAT = Boolean.parseBoolean(System.getProperty("with-libtomcat8-java")) ||
Boolean.parseBoolean(System.getProperty("with-libtomcat9-java"));
// path to the jasper jar
private static final String JASPER_JAR = System.getProperty("jasper.jar");