Skip to content

Commit

Permalink
Whitespace after the quote character is skipped. This fixes this.
Browse files Browse the repository at this point in the history
---
 Signed-off-by: github-actions <[email protected]>

Signed-off-by: github-actions <[email protected]>
  • Loading branch information
github-actions committed Jan 9, 2025
1 parent 1fb6873 commit 3ce5ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aQute.libg/src/aQute/lib/json/JSONCodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ protected String parseString(Decoder r) throws Exception {
char quote = (char) r.current();
assert r.current() == '"' || (promiscuous && r.current == '\'');

int c = r.next(); // skip first "
int c = r.read(); // skip first "

StringBuilder sb = new StringBuilder();
while (c != quote) {
Expand Down

0 comments on commit 3ce5ded

Please sign in to comment.