diff options
-rw-r--r-- | bridge/src/org/aspectj/bridge/MessageUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/src/org/aspectj/bridge/MessageUtil.java b/bridge/src/org/aspectj/bridge/MessageUtil.java index db089f618..ef3ec0696 100644 --- a/bridge/src/org/aspectj/bridge/MessageUtil.java +++ b/bridge/src/org/aspectj/bridge/MessageUtil.java @@ -157,7 +157,7 @@ public class MessageUtil { if (null == reader) { loc = ISourceLocation.EMPTY; } else { - int line = (null == reader ? 0 : reader.getLineNumber()); + int line = reader.getLineNumber(); if (0 < line) { line = 0; } |