Skip to content

Commit 4abd675

Browse files
committed
spotless
1 parent 5bd757e commit 4abd675

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/SpaceQuotaHelperForTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
import org.apache.hadoop.fs.FileSystem;
3737
import org.apache.hadoop.fs.Path;
3838
import org.apache.hadoop.hbase.HBaseTestingUtility;
39-
import org.apache.hadoop.hbase.NamespaceDescriptor;
4039
import org.apache.hadoop.hbase.MiniHBaseCluster;
40+
import org.apache.hadoop.hbase.NamespaceDescriptor;
4141
import org.apache.hadoop.hbase.TableName;
4242
import org.apache.hadoop.hbase.TableNotEnabledException;
4343
import org.apache.hadoop.hbase.Waiter.Predicate;

hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestSpaceQuotas.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,9 @@ public void testNoBulkLoadsWithNoWrites() throws Exception {
247247
fail("Expected the bulk load call to fail!");
248248
} catch (IOException e) {
249249
// Pass
250-
assertTrue("Expected the bulk load call to fail because of a space quota violation, but got "
251-
+ e, e.getCause() instanceof SpaceLimitingException);
250+
assertTrue(
251+
"Expected the bulk load call to fail because of a space quota violation, but got " + e,
252+
e.getCause() instanceof SpaceLimitingException);
252253
LOG.trace("Caught expected exception", e);
253254
}
254255
}
@@ -306,8 +307,9 @@ public void testAtomicBulkLoadUnderQuota() throws Exception {
306307
fail("Expected the bulk load call to fail!");
307308
} catch (IOException e) {
308309
// Pass
309-
assertTrue("Expected the bulk load call to fail because of a space quota violation, but got "
310-
+ e, e.getCause() instanceof SpaceLimitingException);
310+
assertTrue(
311+
"Expected the bulk load call to fail because of a space quota violation, but got " + e,
312+
e.getCause() instanceof SpaceLimitingException);
311313
LOG.trace("Caught expected exception", e);
312314
}
313315
// Verify that we have no data in the table because neither file should have been

0 commit comments

Comments
 (0)