dion 02/05/27 05:48:03
Modified: src/java/org/apache/maven/executor Executor.java
FileProcessingExecutor.java ProjectExecutor.java
AbstractExecutor.java
src/java/org/apache/maven/java DepVisitor.java
BaseVisitor.java
Log:
More checkstyle fixes
Revision Changes Path
1.3 +5 -3
jakarta-turbine-maven/src/java/org/apache/maven/executor/Executor.java
Index: Executor.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/executor/Executor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Executor.java 22 Apr 2002 02:43:32 -0000 1.2
+++ Executor.java 27 May 2002 12:48:03 -0000 1.3
@@ -52,6 +52,8 @@
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
+ *
+ * ====================================================================
*/
/**
@@ -59,7 +61,7 @@
* can be used by adapters like the ant TaskAdapter.
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: Executor.java,v 1.2 2002/04/22 02:43:32 dion Exp $
+ * @version $Id: Executor.java,v 1.3 2002/05/27 12:48:03 dion Exp $
*/
public interface Executor
{
@@ -67,11 +69,11 @@
* Do the work
* @throws Exception when anything goes wrong
*/
- public void execute() throws Exception;
+ void execute() throws Exception;
/**
* Send a message to a logging destination
* @param message the message to send
*/
- public void log(String message);
+ void log(String message);
}
1.4 +2 -2
jakarta-turbine-maven/src/java/org/apache/maven/executor/FileProcessingExecutor.java
Index: FileProcessingExecutor.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/executor/FileProcessingExecutor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- FileProcessingExecutor.java 6 May 2002 02:03:31 -0000 1.3
+++ FileProcessingExecutor.java 27 May 2002 12:48:03 -0000 1.4
@@ -25,7 +25,7 @@
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
*
- * 4. The names "Apache" and "Apache Software Foundation" and
+ * 4. The names "Apache" and "Apache Software Foundation" and
* "Apache Maven" must not be used to endorse or promote products
* derived from this software without prior written permission. For
* written permission, please contact [EMAIL PROTECTED]
@@ -69,7 +69,7 @@
* <code>doPreProcess</code> and <code>doPostProcess</code>.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Pete Kazmier</a>
- * @version $Id: FileProcessingExecutor.java,v 1.3 2002/05/06 02:03:31 kaz Exp $
+ * @version $Id: FileProcessingExecutor.java,v 1.4 2002/05/27 12:48:03 dion Exp $
*/
public abstract class FileProcessingExecutor extends ProjectExecutor
{
1.5 +6 -4
jakarta-turbine-maven/src/java/org/apache/maven/executor/ProjectExecutor.java
Index: ProjectExecutor.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/executor/ProjectExecutor.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ProjectExecutor.java 23 May 2002 00:39:27 -0000 1.4
+++ ProjectExecutor.java 27 May 2002 12:48:03 -0000 1.5
@@ -52,6 +52,8 @@
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
+ *
+ * ====================================================================
*/
import java.io.File;
@@ -67,7 +69,7 @@
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
* @author <a href="[EMAIL PROTECTED]">Vincent Massol</a>
- * @version $Id: ProjectExecutor.java,v 1.4 2002/05/23 00:39:27 dion Exp $
+ * @version $Id: ProjectExecutor.java,v 1.5 2002/05/27 12:48:03 dion Exp $
*/
public abstract class ProjectExecutor
extends AbstractExecutor
@@ -128,7 +130,7 @@
/**
* Load the project using the set project descriptor.
*
- * @throws Exception
+ * @throws Exception if the projectDescriptor property is null
*/
protected void loadMavenProject()
throws Exception
@@ -144,7 +146,7 @@
/**
* Execute the task.
*
- * @throws Exception
+ * @throws Exception when any error occurs
*/
public void execute()
throws Exception
@@ -157,7 +159,7 @@
* Method to override in subclasses that make use of the maven project
* object created by getProject()
*
- * @throws Exception
+ * @throws Exception when any error occurs
*/
public abstract void doExecute()
throws Exception;
1.5 +3 -1
jakarta-turbine-maven/src/java/org/apache/maven/executor/AbstractExecutor.java
Index: AbstractExecutor.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/executor/AbstractExecutor.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AbstractExecutor.java 23 May 2002 01:17:01 -0000 1.4
+++ AbstractExecutor.java 27 May 2002 12:48:03 -0000 1.5
@@ -52,6 +52,8 @@
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
+ *
+ * ====================================================================
*/
import org.apache.tools.ant.Project;
@@ -65,7 +67,7 @@
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
* @author <a href="[EMAIL PROTECTED]">Vincent Massol</a>
- * @version $Id: AbstractExecutor.java,v 1.4 2002/05/23 01:17:01 dion Exp $
+ * @version $Id: AbstractExecutor.java,v 1.5 2002/05/27 12:48:03 dion Exp $
*/
public abstract class AbstractExecutor
implements Executor
1.4 +4 -0
jakarta-turbine-maven/src/java/org/apache/maven/java/DepVisitor.java
Index: DepVisitor.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/java/DepVisitor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DepVisitor.java 3 Mar 2002 13:36:11 -0000 1.3
+++ DepVisitor.java 27 May 2002 12:48:03 -0000 1.4
@@ -140,6 +140,10 @@
return importStatements;
}
+ /** provide the methods found while processing
+ * @return the methods found while processing as a {@link List} of
+ * {@link Method methods}
+ */
public List getMethods()
{
return methods;
1.11 +3 -1
jakarta-turbine-maven/src/java/org/apache/maven/java/BaseVisitor.java
Index: BaseVisitor.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/java/BaseVisitor.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- BaseVisitor.java 13 May 2002 04:49:05 -0000 1.10
+++ BaseVisitor.java 27 May 2002 12:48:03 -0000 1.11
@@ -52,6 +52,8 @@
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
+ *
+ * ====================================================================
*/
import org.apache.maven.java.parser.ASTAdditiveExpression;
@@ -146,7 +148,7 @@
/**
* Base class for tools interested in processing java source code
- * @version $Id: BaseVisitor.java,v 1.10 2002/05/13 04:49:05 dion Exp $
+ * @version $Id: BaseVisitor.java,v 1.11 2002/05/27 12:48:03 dion Exp $
* @author Jason van Zyl
*/
public class BaseVisitor implements JavaParserVisitor
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>