mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-10-17 16:07:25 +00:00
Fix NPE
This commit is contained in:
@@ -141,7 +141,7 @@ public class DefaultClient implements Client {
|
||||
if (eqPos >= 0) {
|
||||
commandLineProperties.setProperty(arg.substring(2, eqPos), arg.substring(eqPos+1));
|
||||
} else {
|
||||
commandLineProperties.setProperty(arg.substring(2), null);
|
||||
commandLineProperties.setProperty(arg.substring(2), "");
|
||||
}
|
||||
}
|
||||
args.add(arg);
|
||||
|
Reference in New Issue
Block a user