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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Jan 22 17:40:22 GMT 2016


Author: watt
Date: Fri Jan 22 17:40:22 2016
New Revision: 1915

Log:
YAML formatter: remove newline character before additional_resources

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	Tue Jan 12 13:21:25 2016	(r1914)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YamlFormatter.java	Fri Jan 22 17:40:22 2016	(r1915)
@@ -94,7 +94,7 @@
             }
         }
 
-	s.append("\nadditional_resources:\n");
+	s.append("additional_resources:\n");
         if(p.getReferences().size()>0){
             for (Reference r : p.getReferences()){
                 if(r.getDescription().startsWith("http")){


More information about the HepData-svn mailing list