We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adebe5d commit 3b6b67fCopy full SHA for 3b6b67f
CodenameOne/src/com/codename1/l10n/SimpleDateFormat.java
@@ -561,7 +561,7 @@ public Date parse(String source) throws ParseException {
561
switch (patternChar) {
562
case LITERAL_LETTER:
563
s = readLiteral(source, startIndex, token);
564
- if (!s.equalsIgnoreCase(token)) {
+ if (s == null || !s.equalsIgnoreCase(token)) {
565
throw new ParseException("Unparseable string " + source, startIndex);
566
}
567
break;
0 commit comments