Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Oct 24, 2023
1 parent d83450d commit da6108f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import java.io.IOException;
import java.text.ParseException;
import java.util.concurrent.TimeUnit;

import com.nimbusds.jose.jwk.JWKSet;
import joptsimple.internal.Strings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@
import org.opensearch.security.test.helper.file.FileHelper;
import org.opensearch.security.test.helper.network.SocketUtils;

import static com.amazon.dlic.auth.http.jwt.keybyoidc.CxfTestTools.toJson;

class MockIpdServer implements Closeable {
final static String CTX_DISCOVER = "/discover";
final static String CTX_KEYS = "/api/oauth/keys";
Expand Down Expand Up @@ -166,8 +164,7 @@ protected void handleDiscoverRequest(HttpRequest request, HttpResponse response,
);
}

protected void handleKeysRequest(HttpRequest request, HttpResponse response, HttpContext context) throws HttpException,
IOException {
protected void handleKeysRequest(HttpRequest request, HttpResponse response, HttpContext context) throws HttpException, IOException {
response.setStatusCode(200);
response.setEntity(new StringEntity(jwks.toString(false)));
}
Expand Down

0 comments on commit da6108f

Please sign in to comment.