forked from I2P_Developers/i2p.i2p
dont use equalsIgnoreCase() for booleans
This commit is contained in:
@ -260,7 +260,7 @@ public class CPUID {
|
||||
private static final void loadNative() {
|
||||
try{
|
||||
String wantedProp = System.getProperty("jcpuid.enable", "true");
|
||||
boolean wantNative = "true".equalsIgnoreCase(wantedProp);
|
||||
boolean wantNative = Boolean.valueOf(wantedProp).booleanValue();
|
||||
if (wantNative) {
|
||||
boolean loaded = loadGeneric();
|
||||
if (loaded) {
|
||||
|
@ -460,7 +460,7 @@ public class NativeBigInteger extends BigInteger {
|
||||
private static final void loadNative() {
|
||||
try{
|
||||
String wantedProp = System.getProperty("jbigi.enable", "true");
|
||||
boolean wantNative = "true".equalsIgnoreCase(wantedProp);
|
||||
boolean wantNative = Boolean.valueOf(wantedProp).booleanValue();
|
||||
if (wantNative) {
|
||||
debug("trying loadGeneric");
|
||||
boolean loaded = loadGeneric("jbigi");
|
||||
|
Reference in New Issue
Block a user