dion 2004/01/07 07:28:26
Modified: src/bootstrap/org/apache/maven Tag: MAVEN-1_0-BRANCH
BootstrapPomParser.java
Log:
Code cleanup
Revision Changes Path
No revision
No revision
1.5.10.3 +6 -6 maven/src/bootstrap/org/apache/maven/BootstrapPomParser.java
Index: BootstrapPomParser.java
===================================================================
RCS file: /home/cvs/maven/src/bootstrap/org/apache/maven/BootstrapPomParser.java,v
retrieving revision 1.5.10.2
retrieving revision 1.5.10.3
diff -u -r1.5.10.2 -r1.5.10.3
--- BootstrapPomParser.java 3 Jan 2004 06:31:54 -0000 1.5.10.2
+++ BootstrapPomParser.java 7 Jan 2004 15:28:26 -0000 1.5.10.3
@@ -79,7 +79,7 @@
private StringBuffer bodyText = new StringBuffer();
/**
- * Gets the dependencies attribute of the Bootstrap object
+ * @return the dependencies attribute of the Bootstrap object
*/
public List getDependencies()
{
@@ -126,7 +126,7 @@
private String getBodyText()
{
return bodyText.toString().trim();
- }
+ }
/**
* Handles closing elements of the xml file.
@@ -162,7 +162,7 @@
{
currentDependency.setArtifactId(getBodyText());
}
-
+
bodyText = new StringBuffer();
}
@@ -201,8 +201,8 @@
*/
private final void printParseError(String type, SAXParseException spe)
{
- System.err.println(type + " [line " + spe.getLineNumber() +
- ", row " + spe.getColumnNumber() + "]: " +
- spe.getMessage());
+ System.err.println(type + " [line " + spe.getLineNumber()
+ + ", row " + spe.getColumnNumber() + "]: "
+ + spe.getMessage());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]