Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
hfutatzhanghb committed Oct 14, 2024
1 parent 215e3b5 commit 8d2879f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import static org.apache.hadoop.hdfs.server.federation.router.RouterRpcClient.isExpectedClass;
import static org.apache.hadoop.hdfs.server.federation.router.async.AsyncUtil.asyncApply;
import static org.apache.hadoop.hdfs.server.federation.router.async.AsyncUtil.asyncCatch;
import static org.apache.hadoop.hdfs.server.federation.router.async.AsyncUtil.asyncComplete;
import static org.apache.hadoop.hdfs.server.federation.router.async.AsyncUtil.asyncForEach;
import static org.apache.hadoop.hdfs.server.federation.router.async.AsyncUtil.asyncReturn;
import static org.apache.hadoop.hdfs.server.federation.router.async.AsyncUtil.asyncTry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ public void tearDown() throws IOException {

@Test
public void testRouterAsyncStoragePolicy() throws Exception {
BlockStoragePolicy[] storagePolicies = cluster.getNamenodes().get(0).getClient().getStoragePolicies();
BlockStoragePolicy[] storagePolicies = cluster.getNamenodes().get(0)
.getClient().getStoragePolicies();
asyncStoragePolicy.getStoragePolicies();
BlockStoragePolicy[] storagePoliciesAsync = syncReturn(BlockStoragePolicy[].class);
assertArrayEquals(storagePolicies, storagePoliciesAsync);
Expand Down

0 comments on commit 8d2879f

Please sign in to comment.