]> source.dussan.org Git - aspectj.git/commitdiff
271201: inpath handles
authoraclement <aclement>
Mon, 6 Apr 2009 19:23:14 +0000 (19:23 +0000)
committeraclement <aclement>
Mon, 6 Apr 2009 19:23:14 +0000 (19:23 +0000)
ajde/src/org/aspectj/ajde/Ajde.java
ajde/testsrc/org/aspectj/ajde/ui/utils/TestOutputLocationManager.java

index c1a5946da8104c8770bd2292d01c37ec02c0c4f3..bd1e77f42600c6ec6d50691e5648d692706b5764 100644 (file)
@@ -17,6 +17,7 @@ package org.aspectj.ajde;
 import java.awt.Frame;
 import java.io.File;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
 
@@ -100,7 +101,7 @@ public class Ajde {
                        INSTANCE.compilerConfig = compilerConfig;
                        INSTANCE.uiBuildMsgHandler = uiBuildMessageHandler;
                        INSTANCE.buildProgressMonitor = monitor;
-                       INSTANCE.asm = AsmManager.createNewStructureModel();
+                       INSTANCE.asm = AsmManager.createNewStructureModel(Collections.EMPTY_MAP);
 
                        INSTANCE.iconRegistry = iconRegistry;
                        INSTANCE.ideUIAdapter = ideUIAdapter;
index 532829b76e3b64290a05f20db73f7c0ed2ade273..157f3ecd424137246eb92bf0102ae5934d843a5f 100644 (file)
@@ -12,7 +12,9 @@ package org.aspectj.ajde.ui.utils;
 
 import java.io.File;
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.List;
+import java.util.Map;
 
 import org.aspectj.ajde.core.IOutputLocationManager;
 
@@ -38,6 +40,10 @@ public class TestOutputLocationManager implements IOutputLocationManager {
        public String getUniqueIdentifier() {
                return testProjectOutputPath;
        }
+       
+       public Map getInpathMap() {
+               return Collections.EMPTY_MAP;
+       }
 
        public File getOutputLocationForClass(File compilationUnit) {
                initLocations();