Il giorno ven, 09/02/2007 alle 20.48 +0100, Mario Torre ha scritto:

>       (getUsableSpace): added stub for new 1.6 method.
>       (getFreeSpace): likewise.
>       (getTotalSpace): likewise.

On #classpath, Andrew nicely let me notice that stubs can be confusing.

The committed patch removes them.

Thanks,
Mario

2007-02-09  Mario Torre  <[EMAIL PROTECTED]>

        * java/io/File.java: remove import for
        gnu.classpath.NotImplementedException.
        (getUsableSpace): removed stub.
        (getFreeSpace): likewise.
        (getTotalSpace): likewise.

-- 
Lima Software - http://www.limasoftware.net/
GNU Classpath Developer - http://www.classpath.org/
Jabber: [EMAIL PROTECTED] - Profile: 
http://www.gtalkprofile.com/profile/9661.html
pgp key: http://subkeys.pgp.net/
PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/
### Eclipse Workspace Patch 1.0
#P classpath
Index: java/io/File.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/File.java,v
retrieving revision 1.70
diff -u -r1.70 File.java
--- java/io/File.java	9 Feb 2007 19:51:08 -0000	1.70
+++ java/io/File.java	9 Feb 2007 20:21:17 -0000
@@ -39,7 +39,6 @@
 
 package java.io;
 
-import gnu.classpath.NotImplementedException;
 import gnu.classpath.SystemProperties;
 
 import java.net.MalformedURLException;
@@ -1292,40 +1291,7 @@
     checkWrite();
     return VMFile.setExecutable(path, executable, ownerOnly);
   }
-  
-  /**
-   * 
-   * @return
-   * @since 1.6
-   */
-  public long getTotalSpace()
-    throws NotImplementedException
-  {
-    return 0L;
-  }
-  
-  /**
-   * 
-   * @return
-   * @since 1.6
-   */
-  public long getFreeSpace()
-    throws NotImplementedException
-  {
-    return 0L;
-  }
-  
-  /**
-   * 
-   * @return
-   * @since 1.6
-   */
-  public long getUsableSpace()
-    throws NotImplementedException
-  {
-    return 0L;
-  }
-  
+
   /**
    * This method sets the file represented by this object to be read only.
    * A read only file or directory cannot be modified.  Please note that 

Reply via email to