summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2004-03-16 09:22:08 +0000
committeraclement <aclement>2004-03-16 09:22:08 +0000
commite6894a62dae5857568da40762c4f6daa6111fdb3 (patch)
tree11a00f3f8626c7685e994be1819f537fea471505
parent40de354443cd1d88cf533d10f77608d1b0cbfecf (diff)
downloadaspectj-e6894a62dae5857568da40762c4f6daa6111fdb3.tar.gz
aspectj-e6894a62dae5857568da40762c4f6daa6111fdb3.zip
Uses 0 line number when it really doesn't know the relevant line in the file to include in a message.
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
index 399eddc95..5f2f49f72 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
@@ -80,7 +80,7 @@ public class WeaverMessageHandler implements IMessageHandler {
severity,
startPos,
endPos,
- sLoc != null ? sLoc.getLine() : 1,
+ sLoc != null ? sLoc.getLine() : 0,
referenceContext,
problemSource
);