cmlenz 2003/01/21 05:06:59
Modified: anttasks/src/java/org/apache/cactus/ant ResinRun.java
Log:
Fix Checkstyle violation about the instantiation of a Boolean
(see previous change to the Checkstyle configuration)
Revision Changes Path
1.9 +3 -3
jakarta-cactus/anttasks/src/java/org/apache/cactus/ant/ResinRun.java
Index: ResinRun.java
===================================================================
RCS file:
/home/cvs/jakarta-cactus/anttasks/src/java/org/apache/cactus/ant/ResinRun.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ResinRun.java 3 Jan 2003 15:45:38 -0000 1.8
+++ ResinRun.java 21 Jan 2003 13:06:59 -0000 1.9
@@ -113,7 +113,7 @@
new Class[] {this.args.getClass(), boolean.class});
this.resinServer = constructor.newInstance(
- new Object[] {this.args, new Boolean(true)});
+ new Object[] {this.args, Boolean.TRUE});
// Try Resin 2.0 first
try
@@ -144,7 +144,7 @@
Method initMethod = theResinServer.getClass().getMethod("init",
new Class[] {boolean.class});
- initMethod.invoke(theResinServer, new Object[] {new Boolean(true)});
+ initMethod.invoke(theResinServer, new Object[] {Boolean.TRUE});
}
/**
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>