X-Git-Url: http://jaekl.net/gitweb/?p=cfb.git;a=blobdiff_plain;f=prod%2Fnet%2Fjaekl%2Fcfb%2Fxml%2FSourceLine.java;h=085c3fbf46765d3d7a713139d18b4403ffcaa91f;hp=c719529e2d9231c1a396253174571c932767ca0b;hb=88c635ae6a039a873cba2d794c55d726dcdc616d;hpb=281aef4ae884879bcee2df781f3460d621c6708c diff --git a/prod/net/jaekl/cfb/xml/SourceLine.java b/prod/net/jaekl/cfb/xml/SourceLine.java index c719529..085c3fb 100644 --- a/prod/net/jaekl/cfb/xml/SourceLine.java +++ b/prod/net/jaekl/cfb/xml/SourceLine.java @@ -34,10 +34,10 @@ public class SourceLine extends ParseResult { m_className = getRequiredAttr(TAG, attr, ATTR_CLASS_NAME); - scratch = getRequiredAttr(TAG, attr, ATTR_START); + scratch = getOptionalAttr(attr, ATTR_START, "-1"); m_start = Integer.parseInt(scratch); - scratch = getRequiredAttr(TAG, attr, ATTR_END); + scratch = getOptionalAttr(attr, ATTR_END, "-1"); m_end = Integer.parseInt(scratch); }