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 class MavenEnhancePlugin extends AbstractMojo {
|
||||||
}
|
}
|
||||||
|
|
||||||
List<String> classesToEnhance = new ArrayList<>();
|
List<String> classesToEnhance = new ArrayList<>();
|
||||||
if(classNames.length() >= 1) {
|
if(classNames != null && classNames.length() >= 1) {
|
||||||
classesToEnhance = Arrays.asList(classNames.split(","));
|
classesToEnhance = Arrays.asList(classNames.split(","));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue