Skip to content

Commit bc99edc

Browse files
committed
fixcomments
1 parent ddcee71 commit bc99edc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSPermission.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
import org.slf4j.Logger;
3434
import org.slf4j.LoggerFactory;
35-
import org.apache.hadoop.test.LambdaTestUtils;
3635
import org.apache.hadoop.conf.Configuration;
3736
import org.apache.hadoop.fs.CommonConfigurationKeys;
3837
import org.apache.hadoop.fs.FSDataInputStream;
@@ -45,6 +44,7 @@
4544
import org.apache.hadoop.fs.permission.FsAction;
4645
import org.apache.hadoop.security.AccessControlException;
4746
import org.apache.hadoop.security.UserGroupInformation;
47+
import org.apache.hadoop.test.LambdaTestUtils;
4848
import org.apache.hadoop.util.Time;
4949
import org.junit.After;
5050
import org.junit.Before;
@@ -262,7 +262,7 @@ private void createAndCheckPermission(OpType op, Path name, short umask,
262262
}
263263

264264
@Test
265-
public void testFSNamesystemCheckAccess(){
265+
public void testFSNamesystemCheckAccess() throws Exception{
266266
Path testInvalidPath = new Path("/test2");
267267
fs = FileSystem.get(conf);
268268

@@ -300,7 +300,7 @@ public void testImmutableFsPermission() throws IOException {
300300
fs.setPermission(new Path("/"),
301301
FsPermission.createImmutable((short)0777));
302302
}
303-
303+
304304
@Test(timeout=30000)
305305
public void testTrashPermission() throws Exception {
306306
// /BSS user1:group2 777

0 commit comments

Comments
 (0)