[HepData-svn] r1548 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu May 31 11:00:11 BST 2012


Author: whalley
Date: Thu May 31 11:00:11 2012
New Revision: 1548

Log:
further slight tweaks for missing axes

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java	Thu May 31 10:35:37 2012	(r1547)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java	Thu May 31 11:00:11 2012	(r1548)
@@ -89,6 +89,11 @@
             }
             int nstore = d.getYAxis(1).getComments().size() + d.getYAxis(1).getProperties().size();
             String[][] store = new String[d.getYAxes().size()][nstore];
+            for (int i=0; i<d.getYAxes().size(); i++){
+                for (int j=0; j<nstore; j++){
+                    store[i][j]="";
+                }
+            }
 
             boolean hassqrt = false;
             String sqrts = "";


More information about the HepData-svn mailing list