aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testsrc/org/aspectj
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-02-13 05:59:18 +0000
committerwisberg <wisberg>2003-02-13 05:59:18 +0000
commit89f47521058ac87673b5c7efac38ef9c409d9812 (patch)
treeef3bb04527b29ef721bca8ea0342e7bc4ed22307 /ajde/testsrc/org/aspectj
parent1b3d8dec76418f78141e33b7f444a39a9273111e (diff)
downloadaspectj-89f47521058ac87673b5c7efac38ef9c409d9812.tar.gz
aspectj-89f47521058ac87673b5c7efac38ef9c409d9812.zip
resolving misc compiler warnings
Diffstat (limited to 'ajde/testsrc/org/aspectj')
-rw-r--r--ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java20
-rw-r--r--ajde/testsrc/org/aspectj/ajde/ui/StructureViewManagerTest.java8
2 files changed, 11 insertions, 17 deletions
diff --git a/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java b/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java
index a59320966..f5b28aa2f 100644
--- a/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java
+++ b/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java
@@ -10,27 +10,21 @@ Adrian Colyer - initial version
**********************************************************************/
package org.aspectj.ajde;
+import org.aspectj.ajde.internal.CompilerAdapter;
+import org.aspectj.ajde.ui.UserPreferencesAdapter;
+import org.aspectj.ajde.ui.internal.AjcBuildOptions;
+import org.aspectj.ajde.ui.internal.UserPreferencesStore;
+import org.aspectj.ajdt.internal.core.builder.AjBuildConfig;
+import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
+
import java.io.File;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
-import javax.swing.JFrame;
-
import junit.framework.TestSuite;
-import org.aspectj.ajde.internal.CompilerAdapter;
-import org.aspectj.ajde.ui.IdeUIAdapter;
-import org.aspectj.ajde.ui.UserPreferencesAdapter;
-import org.aspectj.ajde.ui.internal.AjcBuildOptions;
-import org.aspectj.ajde.ui.internal.UserPreferencesStore;
-import org.aspectj.ajde.ui.swing.AjdeUIManager;
-import org.aspectj.ajde.ui.swing.BasicEditor;
-import org.aspectj.ajde.ui.swing.IconRegistry;
-import org.aspectj.ajdt.internal.core.builder.AjBuildConfig;
-import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
-
/**
* Tests that a correctly populated AjBuildConfig object is created
* in reponse to the setting in BuildOptionsAdapter and
diff --git a/ajde/testsrc/org/aspectj/ajde/ui/StructureViewManagerTest.java b/ajde/testsrc/org/aspectj/ajde/ui/StructureViewManagerTest.java
index 4c3351f57..62cdad740 100644
--- a/ajde/testsrc/org/aspectj/ajde/ui/StructureViewManagerTest.java
+++ b/ajde/testsrc/org/aspectj/ajde/ui/StructureViewManagerTest.java
@@ -20,7 +20,7 @@ import junit.framework.TestSuite;
import org.aspectj.ajde.Ajde;
import org.aspectj.ajde.AjdeTestCase;
-import org.aspectj.asm.StructureModelManager;
+import org.aspectj.asm.StructureModel;
import org.aspectj.asm.StructureNode;
/**
@@ -66,7 +66,7 @@ public class StructureViewManagerTest extends AjdeTestCase {
assertTrue(
"no structure",
currentView.getRootNode().getStructureNode().getChildren().get(0)
- == StructureModelManager.INSTANCE.getStructureModel().NO_STRUCTURE
+ == StructureModel.NO_STRUCTURE
);
}
@@ -87,7 +87,7 @@ public class StructureViewManagerTest extends AjdeTestCase {
assertTrue(
"no structure",
currentView.getRootNode().getStructureNode().getChildren().get(0)
- == StructureModelManager.INSTANCE.getStructureModel().NO_STRUCTURE
+ == StructureModel.NO_STRUCTURE
);
}
@@ -125,7 +125,7 @@ public class StructureViewManagerTest extends AjdeTestCase {
assertTrue(
"no structure",
currentView.getRootNode().getStructureNode()
- == StructureModelManager.INSTANCE.getStructureModel().NO_STRUCTURE
+ == StructureModel.NO_STRUCTURE
);
}