Skip to content

Commit

Permalink
Fix warning IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
decebals committed Sep 26, 2020
1 parent 30ee349 commit e1a3edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pippo-core/src/main/java/ro/pippo/core/Pippo.java
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ protected InputStream getInputStream(String path) {
private void initReloading() {
String reloadEnabled = System.getProperty(PippoConstants.SYSTEM_PROPERTY_RELOAD_ENABLED);
if (reloadEnabled != null) {
reloading = Boolean.valueOf(reloadEnabled);
reloading = Boolean.parseBoolean(reloadEnabled);
} else {
reloading = RuntimeMode.DEV == RuntimeMode.getCurrent();
}
Expand Down

0 comments on commit e1a3edc

Please sign in to comment.