aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-06-07 12:18:08 +0000
committeraclement <aclement>2005-06-07 12:18:08 +0000
commite9d9a137577dcb010da87b90d752e785784c8d0b (patch)
tree3b19fc85629aeaa721b5aa45147e76c989036b11
parent3824b1c24717b79d48bd5f965bd2d34569dc2195 (diff)
downloadaspectj-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.java10
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...