X-Git-Url: http://jaekl.net/gitweb/?p=cfb.git;a=blobdiff_plain;f=prod%2Fnet%2Fjaekl%2Fcfb%2Fstore%2FLocation.java;h=17d081a5ae1ab8f61ef4f2da6801725043e8169e;hp=91aed9f8c32100a1a911bd74725c5ce6d5d72310;hb=9868f50714076f9dc90e7021a45324411afd9ce1;hpb=eca282fc722c1f71fbe9a8efcfd863120110ab1b diff --git a/prod/net/jaekl/cfb/store/Location.java b/prod/net/jaekl/cfb/store/Location.java index 91aed9f..17d081a 100644 --- a/prod/net/jaekl/cfb/store/Location.java +++ b/prod/net/jaekl/cfb/store/Location.java @@ -57,8 +57,8 @@ public class Location { public String getClassName() { return m_className; } public String getMethodName() { return m_methodName; } public String getMethodRole() { return m_methodRole; } - public int getStart() { return m_startLine; } - public int getEnd() { return m_endLine; } + public int getStart() { return (null == m_startLine) ? (-1) : m_startLine.intValue(); } + public int getEnd() { return (null == m_endLine) ? (-1) : m_endLine.intValue(); } public void dump(PrintWriter pw, int indent) {