Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: The declaration exception is never thrown #25451

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public class WebConfigurer implements <% if (!reactive) { %>ServletContextInitia
<%_ if (!reactive) { _%>

@Override
public void onStartup(ServletContext servletContext) throws ServletException {
public void onStartup(ServletContext servletContext) {
if (env.getActiveProfiles().length != 0) {
log.info("Web application configuration, using profiles: {}", (Object[]) env.getActiveProfiles());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public class JwtAuthenticationTestUtils {
return encoder.encode(JwtEncoderParameters.from(jwsHeader, claims)).getTokenValue();
}

public static String createInvalidToken(String jwtKey) throws Exception {
public static String createInvalidToken(String jwtKey) {
return createValidToken(jwtKey).substring(1);
}

Expand Down
Loading