|
[HepData-svn] r1665 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Nov 11 14:54:10 GMT 2013
Author: whalley Date: Mon Nov 11 14:54:10 2013 New Revision: 1665 Log: undo the last erroneous fix Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java Mon Nov 11 14:29:44 2013 (r1664) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java Mon Nov 11 14:54:10 2013 (r1665) @@ -179,8 +179,7 @@ if(err.getPlus() != null){ s.append(" plus='" + err.getPlus() + "'"); } if(err.getMinus() != null){ s.append(" minus='" + err.getMinus() + "'"); } if(err.getSourceType() != null){ s.append(" source='" + err.getSourceType().toShortString() + "'"); } - if(err.getNormType().equals("?")){ s.append(" norm='unknown'"); } - else if(err.getNormType() != null){ s.append(" norm='" + err.getNormType().toShortName() + "'"); } + if(err.getNormType() != null){ s.append(" norm='" + err.getNormType().toShortName() + "'"); } s.append(" >\n"); if(err.getComment() != null && !err.getComment().equals("")){ s.append(" <comment>\n");
More information about the HepData-svn mailing list |