Skip to content

Commit 9fc4f08

Browse files
committed
HADOOP-16948. Fix checkstyle
1 parent 822615e commit 9fc4f08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemLease.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public void testTwoCreate() throws Exception {
127127
fs.mkdirs(testFilePath.getParent());
128128

129129
try (FSDataOutputStream out = fs.create(testFilePath)) {
130-
LambdaTestUtils.intercept(IOException.class, isHNSEnabled ? ERR_PARALLEL_ACCESS_DETECTED :
131-
ERR_NO_LEASE_ID_SPECIFIED, () -> {
130+
LambdaTestUtils.intercept(IOException.class, isHNSEnabled ? ERR_PARALLEL_ACCESS_DETECTED
131+
: ERR_NO_LEASE_ID_SPECIFIED, () -> {
132132
try (FSDataOutputStream out2 = fs.create(testFilePath)) {
133133
}
134134
return "Expected second create on infinite lease dir to fail";
@@ -281,8 +281,8 @@ public void testFileSystemClose() throws Exception {
281281
fs.close();
282282
Assert.assertTrue("Store leases were not freed", fs.getAbfsStore().areLeasesFreed());
283283

284-
LambdaTestUtils.intercept(IOException.class, isHNSEnabled ? ERR_LEASE_NOT_PRESENT :
285-
ERR_LEASE_EXPIRED, () -> {
284+
LambdaTestUtils.intercept(IOException.class, isHNSEnabled ? ERR_LEASE_NOT_PRESENT
285+
: ERR_LEASE_EXPIRED, () -> {
286286
out.close();
287287
return "Expected exception on close after closed FS but got " + out;
288288
});

0 commit comments

Comments
 (0)