summaryrefslogtreecommitdiff
path: root/java/io
diff options
context:
space:
mode:
authorMario Torre <neugens@limasoftware.net>2007-02-09 20:24:07 +0000
committerMario Torre <neugens@limasoftware.net>2007-02-09 20:24:07 +0000
commit4174c4c09bdbf735c18f53bfd9f38e72a97c90a2 (patch)
treef634c034a4c74fc0f2af47afb48e281399efed40 /java/io
parentf367015ea8656d668a519556118ffb2e722ba539 (diff)
downloadclasspath-4174c4c09bdbf735c18f53bfd9f38e72a97c90a2.tar.gz
2007-02-09 Mario Torre <neugens@limasoftware.net>
* java/io/File.java: remove import for gnu.classpath.NotImplementedException. (getUsableSpace): removed stub. (getFreeSpace): likewise. (getTotalSpace): likewise.
Diffstat (limited to 'java/io')
-rw-r--r--java/io/File.java36
1 files changed, 1 insertions, 35 deletions
diff --git a/java/io/File.java b/java/io/File.java
index d560eba3a..f34b4dd2b 100644
--- a/java/io/File.java
+++ b/java/io/File.java
@@ -39,7 +39,6 @@ exception statement from your version. */
package java.io;
-import gnu.classpath.NotImplementedException;
import gnu.classpath.SystemProperties;
import java.net.MalformedURLException;
@@ -1292,40 +1291,7 @@ public class File implements Serializable, Comparable<File>
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