diff options
author | aclement <aclement> | 2005-06-07 12:18:08 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-06-07 12:18:08 +0000 |
commit | e9d9a137577dcb010da87b90d752e785784c8d0b (patch) | |
tree | 3b19fc85629aeaa721b5aa45147e76c989036b11 | |
parent | 3824b1c24717b79d48bd5f965bd2d34569dc2195 (diff) | |
download | aspectj-e9d9a137577dcb010da87b90d752e785784c8d0b.tar.gz aspectj-e9d9a137577dcb010da87b90d752e785784c8d0b.zip |
Prevent info messages coming out when on the command line (regression)
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java b/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java index 3861d18e9..6be876c81 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java @@ -214,12 +214,12 @@ public class Main { IMessageHolder holder = clientHolder; if (null == holder) { holder = ourHandler; -// if (verbose) { + if (verbose) { ourHandler.setInterceptor(MessagePrinter.VERBOSE); -// } else { -// ourHandler.ignore(IMessage.INFO); -// ourHandler.setInterceptor(MessagePrinter.TERSE); -// } + } else { + ourHandler.ignore(IMessage.INFO); + ourHandler.setInterceptor(MessagePrinter.TERSE); + } } // make sure we handle out of memory gracefully... |