Skip to content

Commit

Permalink
fix: avoid NPE
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
Signed-off-by: manticore-projects <andreas@manticore-projects.com>
  • Loading branch information
manticore-projects committed Sep 2, 2024
1 parent 25b08b1 commit db4b04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jsqlparser/schema/MultiPartName.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static String unquote(String quotedIdentifier) {
}

static boolean isQuoted(String identifier) {
return LEADING_TRAILING_QUOTES_PATTERN.matcher(identifier).find();
return identifier!=null && LEADING_TRAILING_QUOTES_PATTERN.matcher(identifier).find();
}

String getFullyQualifiedName();
Expand Down

0 comments on commit db4b04d

Please sign in to comment.