fix ordering of display-name and description in accordance with the xsd

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292709 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-30 11:48:46 +00:00
parent c9c9133460
commit 9ea0f181cc
1 changed files with 7 additions and 7 deletions

View File

@ -76,13 +76,6 @@ public final class ApplicationXmlWriter
writer = initializeRootElementOneDotFour( w ); writer = initializeRootElementOneDotFour( w );
} }
if ( displayName != null )
{
writer.startElement( "display-name" );
writer.writeText( displayName );
writer.endElement();
}
if ( description != null ) if ( description != null )
{ {
writer.startElement( "description" ); writer.startElement( "description" );
@ -90,6 +83,13 @@ public final class ApplicationXmlWriter
writer.endElement(); writer.endElement();
} }
if ( displayName != null )
{
writer.startElement( "display-name" );
writer.writeText( displayName );
writer.endElement();
}
Iterator i = earModules.iterator(); Iterator i = earModules.iterator();
while ( i.hasNext() ) while ( i.hasNext() )
{ {