Update of /cvsroot/mockobjects/mockobjects-java/src/core/com/mockobjects/dynamic
In directory sc8-pr-cvs1:/tmp/cvs-serv32102/core/com/mockobjects/dynamic
Modified Files:
Tag: DynamicMockExperiment
C.java
Log Message:
Spooky C.eq(o0,o1) had a silent complier bug - the setter used O1 not o1
but the compiler didn't pick it up - and defaulted to a value of "1"???
When I resaved it then showed the error?
Index: C.java
===================================================================
RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/com/mockobjects/dynamic/C.java,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -r1.1.2.5 -r1.1.2.6
--- C.java 16 Apr 2003 16:31:44 -0000 1.1.2.5
+++ C.java 17 Apr 2003 11:46:25 -0000 1.1.2.6
@@ -33,15 +33,15 @@
public static Constraint[] eq( Object o0, Object o1 ) {
Constraint[] result = new Constraint[2];
result[0] = eq(o0);
- result[1] = eq(01);
+ result[1] = eq(o1);
return result;
}
public static Constraint[] eq( Object o0, Object o1, Object o2 ) {
Constraint[] result = new Constraint[3];
result[0] = eq(o0);
- result[1] = eq(01);
- result[2] = eq(02);
+ result[1] = eq(o1);
+ result[2] = eq(o2);
return result;
}
|