Commit in GeomConverter/src/org/lcsim/geometry/compact on MAIN | |||
Header.java | +5 | -1 | 1.4 -> 1.5 |
JM: Made the comment tag optional in compact header.
diff -u -r1.4 -r1.5 --- Header.java 19 Jul 2005 20:30:47 -0000 1.4 +++ Header.java 17 Jan 2006 18:58:25 -0000 1.5 @@ -27,7 +27,11 @@
} url = info.getAttributeValue("url");
- comment = info.getChild("comment").getTextNormalize();
+ + if ( info.getChild("comment") != null ) + { + comment = info.getChild("comment").getTextNormalize(); + }
} /**