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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Jun 19 17:18:54 BST 2015


Author: watt
Date: Fri Jun 19 17:18:54 2015
New Revision: 1873

Log:
Missing closing curly bracket for resource area files

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

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YamlFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YamlFormatter.java	Fri Jun 19 17:09:27 2015	(r1872)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YamlFormatter.java	Fri Jun 19 17:18:54 2015	(r1873)
@@ -133,7 +133,7 @@
                         link="http://hepdata.cedar.ac.uk"+in.readLine();	    
                     } 
                     catch (IOException e){}
-		    s.append(sp+"{location: '"+link+"', description: '"+desc+"'\n");
+		    s.append(sp+"{location: '"+link+"', description: '"+desc+"'}\n");
                 } 
             }
         }
@@ -144,7 +144,7 @@
 	    File testinsert = new File(insertfile);
 	    String insert="";
 	    if(testinsert.exists()){
-		s.append(sp+"{location: 'http://hepdata.cedar.ac.uk/resource/"+ids[j]+"/insert.html', description: \"insert.html\"\n");
+		s.append(sp+"{location: 'http://hepdata.cedar.ac.uk/resource/"+ids[j]+"/insert.html', description: \"insert.html\"}\n");
 	    }
 	}
 


More information about the HepData-svn mailing list