[HepData-svn] r1585 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon Oct 15 15:02:31 BST 2012


Author: whalley
Date: Mon Oct 15 15:02:31 2012
New Revision: 1585

Log:
fix for earlier fix to reorder the qualifiers

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java	Fri Oct 12 16:09:27 2012	(r1584)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java	Mon Oct 15 15:02:31 2012	(r1585)
@@ -202,8 +202,7 @@
                 if(i>0 && storelist.get(i).equals(storelist.get(i-1))){ nprop -= 1;}
                 else{
                     ij += 1;
-                    store[numy][ij] = storelist.get(i).replaceFirst("sqrts","SQRT(S)");
-                    store[numy][ij] = storelist.get(i).replaceFirst("zzzz :","");
+                    store[numy][ij] = storelist.get(i).replaceFirst("sqrts","SQRT(S)").replaceFirst("zzzz :","");
                 } 
             }
         }


More information about the HepData-svn mailing list