Skip to content

Commit c6bfbd2

Browse files
committed
fix checkstyle.
1 parent 6898a70 commit c6bfbd2

File tree

1 file changed

+2
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ public void testGet() throws IOException {
19591959
conf.setInt(HdfsClientConfigKeys.Retry.WINDOW_BASE_KEY, 10);
19601960
TestGetRunner runner = new TestGetRunner() {
19611961
private int count = 0;
1962-
private final FsShell shell = new FsShell(conf);
1962+
private final FsShell shell = new FsShell(conf);
19631963

19641964
public String run(int exitcode, String... options) throws IOException {
19651965
String dst = new File(TEST_ROOT_DIR, fname + ++count)
@@ -3304,6 +3304,7 @@ private void doSetXattr(ByteArrayOutputStream out, FsShell fshell,
33043304
*
33053305
* As SuperUser: Set an Xattr with Trusted (Should pass)
33063306
*/
3307+
@SuppressWarnings("checkstyle:MethodLength")
33073308
@Test
33083309
@Timeout(value = 30)
33093310
public void testSetXAttrPermissionAsDifferentOwner() throws Exception {

0 commit comments

Comments
 (0)