HHH-17994 defensive check for the case when classNames wasn't set
(cherry picked from commit 08127f28df
)
This commit is contained in:
parent
b7ade6c26c
commit
55781039fe
|
@ -112,7 +112,7 @@ public class MavenEnhancePlugin extends AbstractMojo {
|
|||
}
|
||||
|
||||
List<String> classesToEnhance = new ArrayList<>();
|
||||
if(classNames.length() >= 1) {
|
||||
if(classNames != null && classNames.length() >= 1) {
|
||||
classesToEnhance = Arrays.asList(classNames.split(","));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue