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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Nov 10 16:33:14 GMT 2015


Author: whalley
Date: Tue Nov 10 16:33:13 2015
New Revision: 1906

Log:
catch more misformed qualifiers

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

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/InputFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/InputFormatter.java	Tue Nov 10 16:21:14 2015	(r1905)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/InputFormatter.java	Tue Nov 10 16:33:13 2015	(r1906)
@@ -176,7 +176,7 @@
                 Boolean same = true;
                 if(nyax > 1){
                     for (int ny=0; ny<nyax-1; ny++){
-			if(!store[ny][i].equals(store[ny+1][i])) { same = false; }
+	        	try { if(!store[ny][i].equals(store[ny+1][i])) { same = false; } } catch(Exception ex) {}
                     }
                 }
                 if(same) { 


More information about the HepData-svn mailing list