Skip to content

Commit

Permalink
fix(sonar): fix sonar issues (#1117)[backend]
Browse files Browse the repository at this point in the history
  • Loading branch information
guzhongren authored Mar 5, 2024
1 parent 9a438d8 commit 1a4e208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@RequiredArgsConstructor
public class WorkDay {

private static final long ONE_DAY = 1000 * 60 * 60 * 24;
private static final long ONE_DAY = 1000L * 60 * 60 * 24;

private static final DateTimeFormatter DATE_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd");

Expand Down
2 changes: 1 addition & 1 deletion backend/src/test/java/heartbeat/TestFixtures.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class TestFixtures {

public static final String GITHUB_TOKEN = "ghp_12345jhgyui987654rdef43567yhu7654321"; // gitleaks:allow
public static final String GITHUB_TOKEN = "ghp_" + "12345j".repeat(6);

public static final String BUILDKITE_TOKEN = "bkua_6xxxafcc3bxxxxxxb8xxx8d8dxxxf7897cc8b2f1";

Expand Down

0 comments on commit 1a4e208

Please sign in to comment.