notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1675 - in trunk/main/depot: library/src/main/net/dpml/library/info tools
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1675 - in trunk/main/depot: library/src/main/net/dpml/library/info tools
- Date: Tue, 25 Jul 2006 23:18:31 +0200
Author: mcconnell
Date: 2006-07-25 23:18:30 +0200 (Tue, 25 Jul 2006)
New Revision: 1675
Modified:
trunk/main/depot/library/src/main/net/dpml/library/info/LibraryEncoder.java
trunk/main/depot/tools/
Log:
fix bug in module encoder concerning empty info elements
Modified:
trunk/main/depot/library/src/main/net/dpml/library/info/LibraryEncoder.java
===================================================================
---
trunk/main/depot/library/src/main/net/dpml/library/info/LibraryEncoder.java
2006-07-25 20:20:50 UTC (rev 1674)
+++
trunk/main/depot/library/src/main/net/dpml/library/info/LibraryEncoder.java
2006-07-25 21:18:30 UTC (rev 1675)
@@ -213,7 +213,7 @@
private void writeInfo(
Writer writer, InfoDirective info, String lead ) throws IOException
{
- writer.write( "\n" + lead + "<info" );
+ writer.write( lead + "<info" );
if( null != info.getTitle() )
{
writer.write( " title=\"" + info.getTitle() + "\"" );
@@ -225,12 +225,12 @@
writer.write( "\n" + lead + " <description>" );
writer.write( "\n" + lead + " " + description );
writer.write( "\n" + lead + " </description>" );
+ writer.write( "\n" + lead + "</info>" );
}
else
{
writer.write( "/>" );
}
- writer.write( "\n" + lead + "</info>" );
}
private void writeProperties(
Property changes on: trunk/main/depot/tools
___________________________________________________________________
Name: svn:ignore
+ target
- r1675 - in trunk/main/depot: library/src/main/net/dpml/library/info tools, mcconnell at BerliOS, 07/25/2006
Archive powered by MHonArc 2.6.24.