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 9, 2024
1 parent ccdeb90 commit fce2b1e
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 fce2b1e

Please sign in to comment.