< prev index next >
src/java.base/share/classes/sun/security/jca/ProviderConfig.java
Print this page
rev 52979 : 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: TBD
*** 112,122 ****
tries = MAX_LOAD_TRIES;
}
}
private boolean hasArgument() {
! return argument.length() != 0;
}
// should we try to load this provider?
private boolean shouldLoad() {
return (tries < MAX_LOAD_TRIES);
--- 112,122 ----
tries = MAX_LOAD_TRIES;
}
}
private boolean hasArgument() {
! return !argument.isEmpty();
}
// should we try to load this provider?
private boolean shouldLoad() {
return (tries < MAX_LOAD_TRIES);
< prev index next >