|
[HepData-svn] r1558 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Jun 29 15:05:48 BST 2012
Author: whalley Date: Fri Jun 29 15:05:48 2012 New Revision: 1558 Log: add title to input formatter 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 Thu Jun 28 13:52:54 2012 (r1557) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/InputFormatter.java Fri Jun 29 15:05:48 2012 (r1558) @@ -35,6 +35,9 @@ if(p.getInspireId()!=null) s.append("*inspireId:\t" + p.getInspireId() + "\n"); if(p.getRedId()!=null) s.append("*durhamId:\t" + p.getRedId() + "\n"); + if(p.getTitle()!=null) { + s.append("*title:\t\t"+p.getTitle()+"\n"); + } for (String comment : p.getComments()){ s.append("*comment:\t"+comment+"\n"); }
More information about the HepData-svn mailing list |