aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java12
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/Options.java4
2 files changed, 8 insertions, 8 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java b/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java
index e099dee7c..80d6e23e3 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java
@@ -25,10 +25,14 @@ public class DefaultMessageHandler implements IMessageHandler {
boolean showWarn = true;
public boolean handleMessage(IMessage message) throws AbortException {
- if (message.getKind().isSameOrLessThan(IMessage.INFO)) {
- return SYSTEM_OUT.handleMessage(message);
- } else {
- return SYSTEM_ERR.handleMessage(message);
+ if (isIgnoring(message.getKind())) {
+ return false;
+ } else {
+ if (message.getKind().isSameOrLessThan(IMessage.INFO)) {
+ return SYSTEM_OUT.handleMessage(message);
+ } else {
+ return SYSTEM_ERR.handleMessage(message);
+ }
}
}
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Options.java b/loadtime/src/org/aspectj/weaver/loadtime/Options.java
index e6c502d10..507afe990 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/Options.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/Options.java
@@ -133,10 +133,6 @@ public class Options {
public WeaverOption() {
messageHandler = new DefaultMessageHandler();//default
-
- //temp alex
- messageHandler.dontIgnore(IMessage.WEAVEINFO);
- messageHandler.dontIgnore(IMessage.INFO);
}
}
}