Skip to content

Commit

Permalink
[apache#768] fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
beryllw committed Jun 17, 2023
1 parent 3975767 commit 603baf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package org.apache.uniffle.cli;

import java.util.HashMap;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.Answers;
Expand Down Expand Up @@ -52,7 +53,7 @@ public void testRunRefreshAccessChecker() throws UniffleCliArgsException {
String result = adminRestApi.refreshAccessChecker();
Mockito.verify(uniffleRestClient.getHttpClient(),
Mockito.times(1)).get("/api/server/admin/refreshChecker",
new HashMap<>(), null);
new HashMap<>(), null);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
package org.apache.uniffle.cli;

import java.io.IOException;

import java.util.HashMap;

import org.junit.jupiter.api.Test;
import org.mockito.Answers;
import org.mockito.Mockito;
Expand All @@ -43,7 +43,7 @@ public void testAdminRefreshCLI() throws UniffleCliArgsException, IOException {
assertEquals(0, uniffleAdminCLI.run(args));
Mockito.verify(client.getHttpClient(),
Mockito.times(1)).get("/api/server/admin/refreshChecker",
new HashMap<>(), null);
new HashMap<>(), null);
}


Expand Down

0 comments on commit 603baf8

Please sign in to comment.