From: aclement Date: Tue, 26 Aug 2008 22:43:57 +0000 (+0000) Subject: unnecessary null check removed X-Git-Tag: V162DEV_M1~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=62cae031f59a6e61ac9afe1168d8f7b18c77c4a7;p=aspectj.git unnecessary null check removed --- 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; }