projects
/
cfb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unit testing: confirm that Analyzer can parse some sample XML
[cfb.git]
/
prod
/
net
/
jaekl
/
cfb
/
xml
/
SourceLine.java
diff --git
a/prod/net/jaekl/cfb/xml/SourceLine.java
b/prod/net/jaekl/cfb/xml/SourceLine.java
index c719529e2d9231c1a396253174571c932767ca0b..085c3fbf46765d3d7a713139d18b4403ffcaa91f 100644
(file)
--- 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);
m_className = getRequiredAttr(TAG, attr, ATTR_CLASS_NAME);
- scratch = get
RequiredAttr(TAG, attr, ATTR_START
);
+ scratch = get
OptionalAttr(attr, ATTR_START, "-1"
);
m_start = Integer.parseInt(scratch);
m_start = Integer.parseInt(scratch);
- scratch = get
RequiredAttr(TAG, attr, ATTR_END
);
+ scratch = get
OptionalAttr(attr, ATTR_END, "-1"
);
m_end = Integer.parseInt(scratch);
}
m_end = Integer.parseInt(scratch);
}