Skip to content

Commit

Permalink
while Character.isWhiteSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
datdenkikniet committed Jan 6, 2024
1 parent 06c1635 commit 64a914e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private static char readNonSpace(StringReader nameSource) throws Exception {
throw new Exception("Name source exhausted");
}
c = (char) n;
} while (c == ' ');
} while (Character.isWhitespace(c));

return c;
}
Expand Down

0 comments on commit 64a914e

Please sign in to comment.