Skip to content

Commit

Permalink
Suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Oct 20, 2024
1 parent c7f9853 commit 9782148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/itsallcode/jdbc/dialect/Extractors.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

final class Extractors {

@SuppressWarnings("java:S2143") // Need to use calendar api
private final static Calendar UTC_CALENDAR = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
@SuppressWarnings({ "java:S2143", "java:S2885" }) // Need to use calendar api; using Calendar in a thread-safe way
private static final Calendar UTC_CALENDAR = Calendar.getInstance(TimeZone.getTimeZone("UTC"));

private Extractors() {
}
Expand Down

0 comments on commit 9782148

Please sign in to comment.