You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/11/04 11:09:51 UTC
svn commit: r1405516 -
/maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java
Author: hboutemy
Date: Sun Nov 4 10:09:51 2012
New Revision: 1405516
URL: http://svn.apache.org/viewvc?rev=1405516&view=rev
Log:
typo
Modified:
maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java
Modified: maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java?rev=1405516&r1=1405515&r2=1405516&view=diff
==============================================================================
--- maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java (original)
+++ maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java Sun Nov 4 10:09:51 2012
@@ -78,8 +78,7 @@ public class Xpp3DomBuilder
}
}
- private static DocHandler parseSax( @Nonnull
- InputSource inputSource, boolean trim )
+ private static DocHandler parseSax( @Nonnull InputSource inputSource, boolean trim )
throws XmlPullParserException
{
@@ -191,26 +190,26 @@ public class Xpp3DomBuilder
{
int depth = elemStack.size() - 1;
- Xpp3Dom finishedConfiguration = pop();
+ Xpp3Dom element = pop();
/* this Object could be null if it is a singleton tag */
Object accumulatedValue = values.remove( depth );
- if ( finishedConfiguration.getChildCount() == 0 )
+ if ( element.getChildCount() == 0 )
{
if ( accumulatedValue == null )
{
- finishedConfiguration.setValue( "" ); // null in xpp3dom, but we dont do that around here
+ element.setValue( "" ); // null in xpp3dom, but we don't do that around here
}
else
{
- finishedConfiguration.setValue( accumulatedValue.toString() );
+ element.setValue( accumulatedValue.toString() );
}
}
if ( depth == 0 )
{
- result = finishedConfiguration;
+ result = element;
}
}