[jOOQ/jOOQ#15168] NullPointerException in code generator when omitting
<target> directory
This commit is contained in:
parent
3b347a0307
commit
25897d1ebf
@ -1028,7 +1028,7 @@ public class GenerationTool {
|
||||
) {
|
||||
String p = System.getProperty(property);
|
||||
|
||||
if (override ? p != null : checkDefault.test(get.apply(configurationObject)))
|
||||
if (p != null && (override || checkDefault.test(get.apply(configurationObject))))
|
||||
set.accept(configurationObject, convert.apply(p));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user