mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 10:52:57 +00:00
dont use equalsIgnoreCase() for booleans
This commit is contained in:
1 parent
d9dcb1e583
commit
8619fd2c05
14 files changed
+25
-25
No files matched your search
@@ -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