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(sonar): fix sonar issues #1117

Merged
merged 2 commits into from
Mar 5, 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 @@ -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
Loading