jochen 2005/04/07 13:24:36
Modified: src/jaxme/org/apache/ws/jaxme/generator/types Tag:
Branch_R0_3 IntegerSG.java
Log:
Revision Changes Path
No revision
No revision
1.2.2.1 +2 -2
ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/types/IntegerSG.java
Index: IntegerSG.java
===================================================================
RCS file:
/home/cvs/ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/types/IntegerSG.java,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- IntegerSG.java 16 Feb 2004 23:39:51 -0000 1.2
+++ IntegerSG.java 7 Apr 2005 20:24:36 -0000 1.2.2.1
@@ -76,12 +76,12 @@
pMethod.addIf(pValue, ".signum()", " == -1");
pMethod.addIf(pValue, ".toString().length() - 1", " > ", totalDigits);
pMethod.addThrowNew(IllegalArgumentException.class,
- JavaSource.getQuoted("Length of " + totalDigits +
" digits exceeded: "), " + " + pValue);
+ JavaSource.getQuoted("Length of " + totalDigits +
" digits exceeded: "), " + ", pValue);
pMethod.addEndIf();
pMethod.addElse();
pMethod.addIf(pValue, ".toString().length()", " > ", totalDigits);
pMethod.addThrowNew(IllegalArgumentException.class,
- JavaSource.getQuoted("Length of " + totalDigits +
" digits exceeded: "), " + " + pValue);
+ JavaSource.getQuoted("Length of " + totalDigits +
" digits exceeded: "), " + ", pValue);
pMethod.addEndIf();
pMethod.addEndIf();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]