diff options
author | wisberg <wisberg> | 2003-04-29 00:26:02 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-04-29 00:26:02 +0000 |
commit | 52882bef3e9112f4a42016ba537cc1f6fbef5104 (patch) | |
tree | 46eb07fdda6a0e34dd3bc4d46edfc7e9584699bb /org.aspectj.ajdt.core | |
parent | 074b87b958d20b5704f53a6a618781e797f80eea (diff) | |
download | aspectj-52882bef3e9112f4a42016ba537cc1f6fbef5104.tar.gz aspectj-52882bef3e9112f4a42016ba537cc1f6fbef5104.zip |
using Kind.isSameOrLessThan(..) rather than direct compare for inferring streams
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java | 5 |
1 files changed, 1 insertions, 4 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 99ead011c..eb10afa56 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 @@ -455,10 +455,7 @@ public class Main { * System.out for INFO if verbose. */ protected PrintStream getStreamFor(IMessage.Kind kind) { - if (IMessage.FAIL.equals(kind) - || IMessage.ERROR.equals(kind) - || IMessage.WARNING.equals(kind) - || IMessage.ABORT.equals(kind)) { + if (IMessage.WARNING.isSameOrLessThan(kind)) { return System.err; } else if (verbose && IMessage.INFO.equals(kind)) { return System.out; |