Skip to content

File tree

1 file changed

+4
-0
lines changed
  • module/jsonurl-core/src/main/java/org/jsonurl

1 file changed

+4
-0
lines changed

module/jsonurl-core/src/main/java/org/jsonurl/Parser.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ private V parse(CharSequence s, int off, int length, Class<?> clazz) {
416416
stateStack.pop();
417417
pos++;
418418
continue;
419+
default:
420+
break;
419421
}
420422
throw new SyntaxException(ERR_MSG_EXPECT_STRUCTCHAR, pos);
421423

@@ -473,6 +475,8 @@ private V parse(CharSequence s, int off, int length, Class<?> clazz) {
473475
stateStack.pop();
474476
pos++;
475477
continue;
478+
default:
479+
break;
476480
}
477481
throw new SyntaxException(ERR_MSG_EXPECT_STRUCTCHAR, pos);
478482

0 commit comments

Comments
 (0)