We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdbfaae commit 920c12eCopy full SHA for 920c12e
1 file changed
src/main/java/mil/nga/crs/wkt/CRSReader.java
@@ -1188,7 +1188,7 @@ public boolean peekRightDelimiter() throws IOException {
1188
*/
1189
public void readSeparator() throws IOException {
1190
String token = reader.peekToken();
1191
- if (token.equals(WKTConstants.SEPARATOR)) {
+ if (token != null && token.equals(WKTConstants.SEPARATOR)) {
1192
reader.readExpectedToken();
1193
} else if (strict) {
1194
throw new CRSException(
0 commit comments