Skip to content

Commit

Permalink
reduce code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
th-schwarz committed Jan 28, 2025
1 parent 6bc2327 commit 13e542a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
src/main/java/codes/thischwa/dyndrest/config/MvcConfig.java,
src/main/java/codes/thischwa/dyndrest/config/SecurityConfig.java,
src/main/java/codes/thischwa/dyndrest/config/DatabaseConfig.java,
src/main/java/codes/thischwa/dyndrest/Starter.java
src/main/java/codes/thischwa/dyndrest/Starter.java,
src/test/java/**/*
</sonar.exclusions>

<!-- openapi generation -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public class SecurityConfig {
PasswordEncoderFactories.createDelegatingPasswordEncoder();

private static final List<String> publicPaths = new ArrayList<>(List.of("/", "/favicon.ico", "/error"));
private static final String[] loguiPaths = {"/log-ui", "/log-ui/*"};
private static final String adminPath = "/admin/**";
private final String[] loguiPaths = {"/log-ui", "/log-ui/*"};
private final String adminPath = "/admin/**";

private final boolean updateLogEnabled;

Expand Down

0 comments on commit 13e542a

Please sign in to comment.