Oops. Remove an unnecessary if statement.

master
Rémi Cocula 8 years ago
parent e0d77331ce
commit 5ffec4403a
  1. 1
      libresonic-main/src/main/java/org/libresonic/player/boot/TomcatApplication.java

@ -33,7 +33,6 @@ public class TomcatApplication {
// See http://stackoverflow.com/questions/29653326/spring-boot-application-slow-because-of-jsp-compilation // See http://stackoverflow.com/questions/29653326/spring-boot-application-slow-because-of-jsp-compilation
Container jsp = context.findChild("jsp"); Container jsp = context.findChild("jsp");
if (jsp instanceof Wrapper) { if (jsp instanceof Wrapper) {
if (development)
((Wrapper) jsp).addInitParameter("development", Boolean.toString(development)); ((Wrapper) jsp).addInitParameter("development", Boolean.toString(development));
} }
}); });

Loading…
Cancel
Save