leif 2002/09/25 22:44:52
Modified: instrument/src/java/org/apache/excalibur/instrument
CounterInstrument.java
Log:
Fix a checkstyle error I just added
Revision Changes Path
1.3 +3 -2
jakarta-avalon-excalibur/instrument/src/java/org/apache/excalibur/instrument/CounterInstrument.java
Index: CounterInstrument.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/instrument/src/java/org/apache/excalibur/instrument/CounterInstrument.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CounterInstrument.java 26 Sep 2002 04:15:22 -0000 1.2
+++ CounterInstrument.java 26 Sep 2002 05:44:52 -0000 1.3
@@ -61,7 +61,8 @@
public void increment( int count )
{
// Check the count
- if ( count <= 0 ) {
+ if ( count <= 0 )
+ {
throw new IllegalArgumentException( "Count must be a positive value." );
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>