]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
hadoop: remove deprecation warning
authorNoah Watkins <noahwatkins@gmail.com>
Wed, 2 Nov 2011 19:28:03 +0000 (12:28 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Thu, 3 Nov 2011 02:51:44 +0000 (19:51 -0700)
The routine cannot be fully removed yet because it
still exists as an abstract function in FileSystem class.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/client/hadoop/ceph/CephFileSystem.java

index 4c64bb39968e4f937528a5f61b4e5d291997e7e5..708b586641c371f9dd8a2f368b3a985772ae9d41 100644 (file)
@@ -646,6 +646,7 @@ public class CephFileSystem extends FileSystem {
     return locations;
   }
 
+  @Deprecated
        public boolean delete(Path path) throws IOException {
                return delete(path, false);
        }