hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inigo...@apache.org
Subject [10/50] [abbrv] hadoop git commit: HDFS-10649. Remove unused PermissionStatus#applyUMask. Contributed by Chen Liang.
Date Tue, 28 Mar 2017 21:25:33 GMT
HDFS-10649. Remove unused PermissionStatus#applyUMask. Contributed by Chen Liang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ab759e91
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ab759e91
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ab759e91

Branch: refs/heads/HDFS-10467
Commit: ab759e91b746fbd1d8d70f45e896a9f4bd7abf7e
Parents: 1280155
Author: John Zhuge <jzhuge@apache.org>
Authored: Thu Mar 23 23:31:27 2017 -0700
Committer: John Zhuge <jzhuge@apache.org>
Committed: Thu Mar 23 23:31:27 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/fs/permission/PermissionStatus.java  | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/ab759e91/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/PermissionStatus.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/PermissionStatus.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/PermissionStatus.java
index bc9e392..3c3693f 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/PermissionStatus.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/PermissionStatus.java
@@ -44,10 +44,6 @@ public class PermissionStatus implements Writable {
       String user, String group, FsPermission permission) {
     return new PermissionStatus(user, group, permission) {
       @Override
-      public PermissionStatus applyUMask(FsPermission umask) {
-        throw new UnsupportedOperationException();
-      }
-      @Override
       public void readFields(DataInput in) throws IOException {
         throw new UnsupportedOperationException();
       }
@@ -76,15 +72,6 @@ public class PermissionStatus implements Writable {
   /** Return permission */
   public FsPermission getPermission() {return permission;}
 
-  /**
-   * Apply umask.
-   * @see FsPermission#applyUMask(FsPermission)
-   */
-  public PermissionStatus applyUMask(FsPermission umask) {
-    permission = permission.applyUMask(umask);
-    return this;
-  }
-
   @Override
   public void readFields(DataInput in) throws IOException {
     username = Text.readString(in, Text.DEFAULT_MAX_LEN);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message