dion 02/04/21 19:43:32
Modified: src/java/org/apache/maven/executor Executor.java
FileProcessingExecutor.java AbstractExecutor.java
src/java/org/apache/maven BaseProjectTask.java
Log:
Fix style violations
Revision Changes Path
1.2 +10 -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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Executor.java 28 Feb 2002 22:37:25 -0000 1.1
+++ Executor.java 22 Apr 2002 02:43:32 -0000 1.2
@@ -59,12 +59,19 @@
* can be used by adapters like the ant TaskAdapter.
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: Executor.java,v 1.1 2002/02/28 22:37:25 jvanzyl Exp $
+ * @version $Id: Executor.java,v 1.2 2002/04/22 02:43:32 dion Exp $
*/
public interface Executor
{
- public void execute()
- throws Exception;
+ /**
+ * Do the work
+ * @throws Exception when anything goes wrong
+ */
+ public void execute() throws Exception;
+ /**
+ * Send a message to a logging destination
+ * @param message the message to send
+ */
public void log(String message);
}
1.2 +4 -4
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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FileProcessingExecutor.java 20 Apr 2002 05:19:48 -0000 1.1
+++ FileProcessingExecutor.java 22 Apr 2002 02:43:32 -0000 1.2
@@ -26,12 +26,12 @@
* if and wherever such third-party acknowledgments normally appear.
*
* 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache jakarta-turbine-maven" must not be used to endorse or promote
products
- * derived from this software without prior written permission. For
+ * "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]
*
* 5. Products derived from this software may not be called "Apache",
- * "Apache jakarta-turbine-maven", nor may "Apache" appear in their name,
without
+ * "Apache Maven", nor may "Apache" appear in their name, without
* prior written permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
@@ -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.1 2002/04/20 05:19:48 kaz Exp $
+ * @version $Id: FileProcessingExecutor.java,v 1.2 2002/04/22 02:43:32 dion Exp $
*/
public abstract class FileProcessingExecutor extends ProjectExecutor
{
1.2 +4 -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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AbstractExecutor.java 28 Feb 2002 22:37:25 -0000 1.1
+++ AbstractExecutor.java 22 Apr 2002 02:43:32 -0000 1.2
@@ -64,7 +64,7 @@
* available.
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: AbstractExecutor.java,v 1.1 2002/02/28 22:37:25 jvanzyl Exp $
+ * @version $Id: AbstractExecutor.java,v 1.2 2002/04/22 02:43:32 dion Exp $
*/
public abstract class AbstractExecutor
implements Executor
@@ -76,6 +76,7 @@
/**
* Set Ant project.
+ * @param project the ant project the object is executing in
*/
public void setProject(Project project)
{
@@ -84,6 +85,7 @@
/**
* Get Ant project.
+ * @return the ant project that the object is executing in
*/
public Project getProject()
{
@@ -93,6 +95,7 @@
/**
* When used as an Ant task the Ant logging
* mechanism will be used.
+ * @param message the message to be logged
*/
public void log(String message)
{
1.7 +2 -1
jakarta-turbine-maven/src/java/org/apache/maven/BaseProjectTask.java
Index: BaseProjectTask.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/BaseProjectTask.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- BaseProjectTask.java 22 Apr 2002 01:14:56 -0000 1.6
+++ BaseProjectTask.java 22 Apr 2002 02:43:32 -0000 1.7
@@ -74,7 +74,7 @@
* An ant task for creating an xml schema from an sql schema
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: BaseProjectTask.java,v 1.6 2002/04/22 01:14:56 dion Exp $
+ * @version $Id: BaseProjectTask.java,v 1.7 2002/04/22 02:43:32 dion Exp $
*/
public class BaseProjectTask
extends TexenTask
@@ -102,6 +102,7 @@
/**
* Set the project descriptor file. This file must exist.
+ * @param projectDescriptor the project descriptor file
*/
public void setProjectDescriptor(File projectDescriptor)
{