Update of /cvsroot/mockobjects/mockobjects-java/src/jdk/common/com/mockobjects/io
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23893/src/jdk/common/com/mockobjects/io
Modified Files:
MockIOFactory.java
Log Message:
Change iofactory to return the value not the returnvalue container
Index: MockIOFactory.java
===================================================================
RCS file: /cvsroot/mockobjects/mockobjects-java/src/jdk/common/com/mockobjects/io/MockIOFactory.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MockIOFactory.java 11 Aug 2003 09:16:30 -0000 1.4
+++ MockIOFactory.java 29 Apr 2004 10:13:49 -0000 1.5
@@ -24,7 +24,7 @@
}
public void setupOutputStream(File expectedFile, OutputStream returnStream) {
- this.outputStream.putObjectToReturn(expectedFile, outputStream);
+ this.outputStream.putObjectToReturn(expectedFile, returnStream);
}
public OutputStream createOutputStream(File aFile) throws FileNotFoundException {
|