martinc 2003/10/21 23:21:24
Modified: chain/src/java/org/apache/commons/chain Catalog.java
Chain.java Command.java Filter.java
Log:
Checkstyle cleanup.
Revision Changes Path
1.5 +8 -8
jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Catalog.java
Index: Catalog.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Catalog.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Catalog.java 1 Oct 2003 12:31:50 -0000 1.4
+++ Catalog.java 22 Oct 2003 06:21:24 -0000 1.5
@@ -83,7 +83,7 @@
* <p>A default context attribute for storing a default [EMAIL PROTECTED]
Catalog},
* provided as a convenience only.</p>
*/
- public final static String CATALOG_KEY = "org.apache.commons.chain.CATALOG";
+ public static final String CATALOG_KEY = "org.apache.commons.chain.CATALOG";
/**
@@ -95,7 +95,7 @@
* @param command [EMAIL PROTECTED] Command} or [EMAIL PROTECTED] Chain} to be
returned
* for later lookups on this name
*/
- public void addCommand(String name, Command command);
+ void addCommand(String name, Command command);
/**
@@ -105,7 +105,7 @@
* @param name Name for which a [EMAIL PROTECTED] Command} or [EMAIL PROTECTED]
Chain}
* should be retrieved
*/
- public Command getCommand(String name);
+ Command getCommand(String name);
@@ -114,7 +114,7 @@
* known to this [EMAIL PROTECTED] Catalog}. If there are no known commands,
* an empty Iterator is returned.</p>
*/
- public Iterator getNames();
+ Iterator getNames();
}
1.5 +6 -6
jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Chain.java
Index: Chain.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Chain.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Chain.java 1 Oct 2003 12:31:50 -0000 1.4
+++ Chain.java 22 Oct 2003 06:21:24 -0000 1.5
@@ -113,7 +113,7 @@
* @exception IllegalStateException if this [EMAIL PROTECTED] Chain} has already
* been executed at least once, so no further configuration is allowed
*/
- public void addCommand(Command command);
+ void addCommand(Command command);
/**
@@ -157,7 +157,7 @@
* of this [EMAIL PROTECTED] Context} should be delegated to a subsequent
* [EMAIL PROTECTED] Command} in an enclosing [EMAIL PROTECTED] Chain}
*/
- public boolean execute(Context context) throws Exception;
+ boolean execute(Context context) throws Exception;
}
1.4 +5 -5
jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Command.java
Index: Command.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Command.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Command.java 1 Oct 2003 12:31:50 -0000 1.3
+++ Command.java 22 Oct 2003 06:21:24 -0000 1.4
@@ -145,7 +145,7 @@
* of this [EMAIL PROTECTED] Context} should be delegated to a subsequent
* [EMAIL PROTECTED] Command} in an enclosing [EMAIL PROTECTED] Chain}
*/
- public boolean execute(Context context) throws Exception;
+ boolean execute(Context context) throws Exception;
}
1.4 +5 -5
jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Filter.java
Index: Filter.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Filter.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Filter.java 1 Oct 2003 12:32:03 -0000 1.3
+++ Filter.java 22 Oct 2003 06:21:24 -0000 1.4
@@ -106,7 +106,7 @@
* method (and therefore need not be rethrown), return <code>true</code>;
* otherwise return <code>false</code>
*/
- public boolean postprocess(Context context, Exception exception);
+ boolean postprocess(Context context, Exception exception);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]