cvs commit: spice/sandbox/repository/componenthaus/src/tests/org/componenthaus/util/file MockFileManager.java

Mike Hogan <[email protected]> Sun, 09 Nov 2003 06:00:53 -0800
Newsgroups gmane.comp.java.spice.cvs
Message-ID <[email protected]>
hogie       03/11/09 06:00:52

  Modified:    sandbox/repository/componenthaus/src/tests/org/componenthaus/util/file
                        MockFileManager.java
  Log:
  If components are classes, show as little of the class as necessary to show service offering
  
  Revision  Changes    Path
  1.3       +0 -14     spice/sandbox/repository/componenthaus/src/tests/org/componenthaus/util/file/MockFileManager.java
  
  Index: MockFileManager.java
  ===================================================================
  RCS file: /cvsroot/spice/spice/sandbox/repository/componenthaus/src/tests/org/componenthaus/util/file/MockFileManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MockFileManager.java	26 Oct 2003 14:43:09 -0000	1.2
  +++ MockFileManager.java	9 Nov 2003 14:00:52 -0000	1.3
  @@ -12,24 +12,10 @@
           preparedNewFile = mockFile;
       }
   
  -    public String basename(String path) {
  -        return null;
  -    }
  -
       public void copy(File from, OutputStream to) throws IOException {
       }
   
  -    public String asString(File f) throws IOException {
  -        return null;
  -    }
  -
  -    public File newFile(String fileName) {
  -        return preparedNewFile;
  -    }
  -
       public void copy(InputStream inputStream, File target) {
       }
   
  -    public void copy(InputStream from, OutputStream to) throws IOException {
  -    }
   }
  
  
  


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/