-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 12
-
Component/s: core-libs
-
b08
-
Not verified
src/java.logging/share/classes/java/util/logging/Formatter.java:140: warning: [ShortCircuitBoolean] Prefer the short-circuiting boolean operators && and || to & and |.
if (digit >= '0' & digit <= '9') {
^
(see https://errorprone.info/bugpattern/ShortCircuitBoolean.md)
Did you mean 'if (digit >= '0' && digit <= '9') {'?
if (digit >= '0' & digit <= '9') {
^
(see https://errorprone.info/bugpattern/ShortCircuitBoolean.md)
Did you mean 'if (digit >= '0' && digit <= '9') {'?
- relates to
-
JDK-8209331 experimenting w/ error-prone
-
- Open
-