We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d9777a commit 65f4c7dCopy full SHA for 65f4c7d
1 file changed
src/java.logging/share/classes/java/util/logging/Formatter.java
@@ -137,7 +137,7 @@ public String formatMessage(LogRecord record) {
137
while ((index = format.indexOf('{', index+1)) > -1) {
138
if (index >= fence) break;
139
char digit = format.charAt(index+1);
140
- if (digit >= '0' & digit <= '9') {
+ if (digit >= '0' && digit <= '9') {
141
return java.text.MessageFormat.format(format, parameters);
142
}
143
0 commit comments