From: aclement Date: Thu, 21 Feb 2008 17:56:53 +0000 (+0000) Subject: fix for ternary operator X-Git-Tag: V1_6_0M2~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2e55637ff567455b60cea150ff3478456816b65f;p=aspectj.git fix for ternary operator --- diff --git a/weaver/src/org/aspectj/weaver/WeaverStateInfo.java b/weaver/src/org/aspectj/weaver/WeaverStateInfo.java index 9b10517a8..f202f76cb 100644 --- a/weaver/src/org/aspectj/weaver/WeaverStateInfo.java +++ b/weaver/src/org/aspectj/weaver/WeaverStateInfo.java @@ -139,7 +139,7 @@ public class WeaverStateInfo { readAnyReweavableData(wsi,s); return wsi; } - throw new RuntimeException("bad WeaverState.Kind: " + b+". File was :"+(context==null?"unknown":context.makeSourceLocation(0,0))); + throw new RuntimeException("bad WeaverState.Kind: " + b+". File was :"+(context==null?"unknown":context.makeSourceLocation(0,0).toString())); }