mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
additional null check
This commit is contained in:
@@ -335,7 +335,10 @@ public class ParametersList implements Cloneable {
|
||||
if (application != null) {
|
||||
final PathMacros pathMacros = PathMacros.getInstance();
|
||||
for (String name : pathMacros.getUserMacroNames()) {
|
||||
myMacroMap.put("${" + name + "}", pathMacros.getValue(name));
|
||||
final String value = pathMacros.getValue(name);
|
||||
if (value != null) {
|
||||
myMacroMap.put("${" + name + "}", value);
|
||||
}
|
||||
}
|
||||
final Map<String, String> env = EnvironmentUtil.getEnviromentProperties();
|
||||
for (String name : env.keySet()) {
|
||||
|
||||
Reference in New Issue
Block a user