mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-17994 defensive check for the case when classNames wasn't set
This commit is contained in:
parent
967a52fd1d
commit
08127f28df
@ -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(","));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user