From 65b225c06f42b1c3e63c374f1a1477cbc2101a5c Mon Sep 17 00:00:00 2001 From: Colin McCabe Date: Fri, 14 Jun 2013 20:57:07 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/hadoop/fs/FileUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java index cb216e96ef..075fea1e92 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java @@ -800,7 +800,7 @@ public static int symLink(String target, String linkname) throws IOException{ * @throws InterruptedException */ public static int chmod(String filename, String perm - ) throws IOException, InterruptedException { + ) throws IOException { return chmod(filename, perm, false); }