diff options
author | acolyer <acolyer> | 2003-02-26 10:52:35 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2003-02-26 10:52:35 +0000 |
commit | 2e89f544a7dacfea37cfb4b076f5fa33302ebc64 (patch) | |
tree | 127d33d442ed19ce9335a97d37fe847b4373a76c /bridge | |
parent | 20bf213e44aad97b8a1b1efcda24a07b7c92f0d4 (diff) | |
download | aspectj-2e89f544a7dacfea37cfb4b076f5fa33302ebc64.tar.gz aspectj-2e89f544a7dacfea37cfb4b076f5fa33302ebc64.zip |
Ran "Organize imports" to remove redundant imports etc -
clears up a huge set of warnings in Eclipse so that you
can see the wood for the trees!
Diffstat (limited to 'bridge')
6 files changed, 13 insertions, 18 deletions
diff --git a/bridge/src/org/aspectj/bridge/CountingMessageHandler.java b/bridge/src/org/aspectj/bridge/CountingMessageHandler.java index 103461ca7..cbf5bd0ce 100644 --- a/bridge/src/org/aspectj/bridge/CountingMessageHandler.java +++ b/bridge/src/org/aspectj/bridge/CountingMessageHandler.java @@ -13,12 +13,12 @@ package org.aspectj.bridge; -import org.aspectj.util.LangUtil; - import java.util.Enumeration; import java.util.Hashtable; import java.util.Iterator; +import org.aspectj.util.LangUtil; + /** * Wrap an IMessageHandler to count messages handled. * Messages being ignored by the delegate IMessageHandler are not counted. diff --git a/bridge/src/org/aspectj/bridge/MessageUtil.java b/bridge/src/org/aspectj/bridge/MessageUtil.java index 0dda25d65..ddb93b476 100644 --- a/bridge/src/org/aspectj/bridge/MessageUtil.java +++ b/bridge/src/org/aspectj/bridge/MessageUtil.java @@ -13,10 +13,6 @@ package org.aspectj.bridge; -import org.aspectj.bridge.IMessage.Kind; -import org.aspectj.util.LangUtil; -import org.aspectj.util.LineReader; - import java.io.File; import java.io.OutputStream; import java.io.PrintStream; @@ -27,6 +23,10 @@ import java.util.Collections; import java.util.Iterator; import java.util.List; +import org.aspectj.bridge.IMessage.Kind; +import org.aspectj.util.LangUtil; +import org.aspectj.util.LineReader; + /** * Convenience API's for constructing, printing, and sending messages. */ diff --git a/bridge/src/org/aspectj/bridge/SourceLocation.java b/bridge/src/org/aspectj/bridge/SourceLocation.java index 9c8ebab3b..0c28d20d2 100644 --- a/bridge/src/org/aspectj/bridge/SourceLocation.java +++ b/bridge/src/org/aspectj/bridge/SourceLocation.java @@ -14,10 +14,10 @@ package org.aspectj.bridge; -import org.aspectj.util.LangUtil; - import java.io.File; +import org.aspectj.util.LangUtil; + /** * Immutable source location. * This guarantees that the source file is not null diff --git a/bridge/testsrc/BridgeModuleTests.java b/bridge/testsrc/BridgeModuleTests.java index db563fd49..e0049f863 100644 --- a/bridge/testsrc/BridgeModuleTests.java +++ b/bridge/testsrc/BridgeModuleTests.java @@ -14,8 +14,9 @@ // default package -import junit.framework.*; import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; public class BridgeModuleTests extends TestCase { diff --git a/bridge/testsrc/org/aspectj/bridge/BridgeTests.java b/bridge/testsrc/org/aspectj/bridge/BridgeTests.java index 2ab9b9ac1..eb06558cd 100644 --- a/bridge/testsrc/org/aspectj/bridge/BridgeTests.java +++ b/bridge/testsrc/org/aspectj/bridge/BridgeTests.java @@ -14,7 +14,9 @@ package org.aspectj.bridge; -import junit.framework.*; +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; public class BridgeTests extends TestCase { diff --git a/bridge/testsrc/org/aspectj/bridge/CountingMessageHandlerTest.java b/bridge/testsrc/org/aspectj/bridge/CountingMessageHandlerTest.java index 423501e13..fdb8307ac 100644 --- a/bridge/testsrc/org/aspectj/bridge/CountingMessageHandlerTest.java +++ b/bridge/testsrc/org/aspectj/bridge/CountingMessageHandlerTest.java @@ -14,14 +14,6 @@ package org.aspectj.bridge; -import java.io.File; -import java.util.Arrays; -import java.util.BitSet; -import java.util.Comparator; -import java.util.List; -import java.util.ListIterator; - -import junit.framework.AssertionFailedError; import junit.framework.TestCase; import junit.textui.TestRunner; |