summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-26 22:43:57 +0000
committeraclement <aclement>2008-08-26 22:43:57 +0000
commit62cae031f59a6e61ac9afe1168d8f7b18c77c4a7 (patch)
tree896f043b2a08b7a740c8a51b10fe287a549de69e /bridge
parenta99df539f4bb2d13816da647b2cb8968e9bbb4c6 (diff)
downloadaspectj-62cae031f59a6e61ac9afe1168d8f7b18c77c4a7.tar.gz
aspectj-62cae031f59a6e61ac9afe1168d8f7b18c77c4a7.zip
unnecessary null check removed
Diffstat (limited to 'bridge')
-rw-r--r--bridge/src/org/aspectj/bridge/MessageUtil.java2
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;
}