Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
♻️ cleanup for codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhao committed Apr 9, 2023
1 parent 2ae7e6c commit fa2d2e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exclude_paths:
- ".mvn/**"
- "src/main/resources/db/migration/**"
4 changes: 2 additions & 2 deletions script/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Follow this
instruction ["3.2.2. Installation as a systemd Service"](https://docs.spring.io/spring-boot/docs/current/reference/html/deployment.html#deployment-systemd-service)
to enable it as a systemd service in Linux server.
instruction ["2.2.2. Installation as a systemd Service"](https://docs.spring.io/spring-boot/docs/current/reference/html/deployment.html#deployment.installing.nix-services.system-d)
to enable it as a systemd service in Linux server.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

public class SecurityConstants {

private SecurityConstants() {
throw new IllegalInitialException("Do not instantiate me.");
}

public static final String TOKEN_PREFIX = "Bearer ";

public static final String HEADER_STRING = "Authorization";
Expand All @@ -16,4 +12,8 @@ private SecurityConstants() {

public static final String CLAIM_KEY_USER_ID = "user_id";

private SecurityConstants() {
throw new IllegalInitialException("Do not instantiate me.");
}

}

0 comments on commit fa2d2e1

Please sign in to comment.