8200364: Remove unnecessary boxing via primitive wrapper valueOf(String) methods

Reviewed-by: dfuchs, alanb
This commit is contained in:
Martin Buchholz 2018-04-02 17:09:29 -07:00
parent 826b38052c
commit 79fffd05ef
2 changed files with 2 additions and 2 deletions

View file

@ -640,7 +640,7 @@ public class Logger {
return System.getProperty(key);
}
});
return Boolean.valueOf(s);
return Boolean.parseBoolean(s);
}
}