File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -271,20 +271,20 @@ public void testFSNamesystemCheckAccess() throws Exception {
271271 fs .mkdirs (testValidDir );
272272 fs .create (testValidFile );
273273
274- fs .access (testValidDir ,FsAction .READ );
275- fs .access (testValidFile ,FsAction .READ );
274+ fs .access (testValidDir , FsAction .READ );
275+ fs .access (testValidFile , FsAction .READ );
276276
277277 assertTrue (fs .exists (testValidDir ));
278278 assertTrue (fs .exists (testValidFile ));
279279
280280 try {
281- fs .access (testInvalidPath ,FsAction .READ );
281+ fs .access (testInvalidPath , FsAction .READ );
282282 fail ("Failed to get expected FileNotFoundException" );
283283 } catch (FileNotFoundException e ) {
284284 GenericTestUtils .assertExceptionContains (
285285 "Path not found: " + testInvalidPath , e );
286286 } finally {
287- fs .delete (testValidDir ,true );
287+ fs .delete (testValidDir , true );
288288 }
289289 }
290290
You can’t perform that action at this time.
0 commit comments