[CVS nano] small chgs
Paul Hammant <paul-yCVjj/[email protected]> Sat, 20 Dec 2003 14:41:55 -0600
| Newsgroups | gmane.comp.java.nanocontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in nano/testmodel/src/java/org/picoextras/testmodel on MAIN
FredImpl.java +5 1.1 -> 1.2
WilmaImpl.java -2 1.1 -> 1.2
+5 -2
2 modified files
small chgs
----------
nano /testmodel /src /java /org /picoextras /testmodel
FredImpl.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- FredImpl.java 17 Nov 2003 21:05:16 -0000 1.1
+++ FredImpl.java 20 Dec 2003 20:41:55 -0000 1.2
@@ -13,8 +13,13 @@
import junit.framework.Assert;
public class FredImpl {
+ Wilma wilma;
public FredImpl(Wilma wilma) {
+ this.wilma = wilma;
Assert.assertNotNull("Wilma cannot be passed in as null", wilma);
wilma.hello();
+ }
+ public Wilma wilma() {
+ return wilma;
}
}
----------
nano /testmodel /src /java /org /picoextras /testmodel
WilmaImpl.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- WilmaImpl.java 17 Nov 2003 21:05:16 -0000 1.1
+++ WilmaImpl.java 20 Dec 2003 20:41:55 -0000 1.2
@@ -10,8 +10,6 @@
package org.picoextras.testmodel;
-import org.picoextras.testmodel.Wilma;
-
public class WilmaImpl implements Wilma {
private boolean helloCalled;