Skip to content

Commit b0d273e

Browse files
committed
Polishing
1 parent 4d670ee commit b0d273e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-context/src/main/java/org/springframework/scheduling/support/BitsCronField.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static BitsCronField parseDaysOfWeek(String value) {
109109

110110

111111
private static BitsCronField parseDate(String value, BitsCronField.Type type) {
112-
if (value.indexOf('?') != -1) {
112+
if (value.equals("?")) {
113113
value = "*";
114114
}
115115
return BitsCronField.parseField(value, type);

0 commit comments

Comments
 (0)