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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed May 2 16:09:26 BST 2012


Author: whalley
Date: Wed May  2 16:09:25 2012
New Revision: 1539

Log:
tweaking the display for NAME=.

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	Wed May  2 16:08:13 2012	(r1538)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java	Wed May  2 16:09:25 2012	(r1539)
@@ -181,6 +181,9 @@
                         tempstr = tempstr.concat(" ");
                         tempstr = tempstr.concat(property.getUnit().toString());
                     }
+                    if(tempstr.startsWith(". :")){
+                        tempstr = tempstr.substring(3);
+                    }
                     storelist.add(tempstr);
             }
             Collections.sort(storelist);


More information about the HepData-svn mailing list