Browse Source

HADOOP-9646: Inconsistent exception specifications in FileUtils#chmod


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1493241 13f79535-47bb-0310-9956-ffa450edef68
Colin McCabe 12 years ago
parent
commit
65b225c06f

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java

@@ -800,7 +800,7 @@ public class FileUtil {
    * @throws InterruptedException
    */
   public static int chmod(String filename, String perm
-                          ) throws IOException, InterruptedException {
+                          ) throws IOException {
     return chmod(filename, perm, false);
   }