Skip to content

Commit

Permalink
HHH-17994 defensive check for the case when classNames wasn't set
Browse files Browse the repository at this point in the history
(cherry picked from commit 08127f2)
  • Loading branch information
gtoison authored and sebersole committed Apr 22, 2024
1 parent b7ade6c commit 5578103
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
}

List<String> classesToEnhance = new ArrayList<>();
if(classNames.length() >= 1) {
if(classNames != null && classNames.length() >= 1) {
classesToEnhance = Arrays.asList(classNames.split(","));
}

Expand Down

0 comments on commit 5578103

Please sign in to comment.