|
[HepData-svn] r1347 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/componentsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgSun May 2 10:00:58 BST 2010
Author: whalley Date: Sun May 2 11:24:34 2010 New Revision: 1347 Log: temp fix for problem of properties not in each y column 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 Mon Apr 26 09:46:09 2010 (r1346) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java Sun May 2 11:24:34 2010 (r1347) @@ -156,7 +156,8 @@ // this is the actual output // first check is same across row Boolean same = true; - for (int nmy=0; nmy<ny-1; nmy++){ if(!store[nmy][i].equals(store[nmy+1][i])){ same = false; } } +// for (int nmy=0; nmy<ny-1; nmy++){ if(!store[nmy][i].equals(store[nmy+1][i])){ same = false; } } + same = false; if(same) { writer.element("th"); writer.attributes("colspan",ny);
More information about the HepData-svn mailing list |