summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/src/$installer$/org/aspectj/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/src/$installer$/org/aspectj/Main.java b/build/src/$installer$/org/aspectj/Main.java
index 147a88fd3..d601b1687 100644
--- a/build/src/$installer$/org/aspectj/Main.java
+++ b/build/src/$installer$/org/aspectj/Main.java
@@ -845,7 +845,7 @@ abstract class WizardPane {
buf.append(text.substring(lastIndex, startIndex));
String key = text.substring(startIndex+2, endIndex);
lastIndex = endIndex+1;
- Object replaceText = map.get(key);
+ Object replaceText = (map==null?null:map.get(key));
//System.out.println("key: " + key + " -> " + replaceText);
if (replaceText == null) replaceText = "NOT_FOUND";
buf.append(replaceText.toString());
@@ -856,7 +856,7 @@ abstract class WizardPane {
}
public static String applyProperties(String text) {
- return applyProperties(text, context.getProperties());
+ return applyProperties(text, (context==null?null:context.getProperties()));
}
protected String loadText(String filename) {