dion 2002/07/14 08:52:44
Modified: src/java/org/apache/maven/ant FileSetFromPath.java
GetList.java
Log:
Style violations
Revision Changes Path
1.6 +6 -6
jakarta-turbine-maven/src/java/org/apache/maven/ant/FileSetFromPath.java
Index: FileSetFromPath.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/ant/FileSetFromPath.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- FileSetFromPath.java 27 May 2002 12:30:13 -0000 1.5
+++ FileSetFromPath.java 14 Jul 2002 15:52:44 -0000 1.6
@@ -106,8 +106,8 @@
}
if (getIncludes() == null && getExcludes() == null)
{
- throw new BuildException("one of the includes or excludes " +
- "attributes must be set");
+ throw new BuildException("one of the includes or excludes "
+ + "attributes must be set");
}
if (getBasedir() == null)
{
@@ -118,8 +118,8 @@
Path path = (Path) getProject().getReferences().get(getPathid());
if (path == null)
{
- throw new BuildException("referenced path '" + getPathid() + "'" +
- " not found in this project");
+ throw new BuildException("referenced path '" + getPathid() + "'"
+ + " not found in this project");
}
FileSet files = new FileSet();
files.setDir(new File(getBasedir()));
@@ -173,8 +173,8 @@
}
else
{
- throw new BuildException("Path '" + pathElement + "' is" +
- "not within the project basedir '" + basedir + "'");
+ throw new BuildException("Path '" + pathElement + "' is"
+ + "not within the project basedir '" + basedir + "'");
}
}
1.8 +4 -3 jakarta-turbine-maven/src/java/org/apache/maven/ant/GetList.java
Index: GetList.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/ant/GetList.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- GetList.java 11 Jul 2002 22:19:43 -0000 1.7
+++ GetList.java 14 Jul 2002 15:52:44 -0000 1.8
@@ -172,8 +172,8 @@
if (dest.exists() && !dest.canWrite())
{
- throw new BuildException("Can't write to " +
- dest.getAbsolutePath());
+ throw new BuildException("Can't write to "
+ + dest.getAbsolutePath());
}
for (Iterator j = getList(getListFile()).iterator(); j.hasNext();)
@@ -195,7 +195,8 @@
HttpUtils.getFile(source, destinationFile, file, verbose,
ignoreErrors, useTimestamp, uname, pword,
- proxyHost, proxyPort, proxyUserName,
proxyPassword);
+ proxyHost, proxyPort, proxyUserName,
+ proxyPassword);
}
catch (Exception e)
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>