Skip to content

Commit df265fd

Browse files
committed
Fixed sonar
1 parent 3ea343e commit df265fd

File tree

3 files changed

+3
-2
lines changed
  • src/main/java/g3601_3700

3 files changed

+3
-2
lines changed

src/main/java/g3601_3700/s3650_minimum_cost_path_with_edge_reversals/Solution.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import java.util.Arrays;
66
import java.util.PriorityQueue;
77

8+
@SuppressWarnings({"java:S1210", "java:S2234"})
89
public class Solution {
910
private static final int INF = Integer.MAX_VALUE / 2 - 1;
1011
private int cnt;

src/main/java/g3601_3700/s3653_xor_after_range_multiplication_queries_i/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private long modPow(long a, long e) {
2222
}
2323

2424
private long modInv(long a) {
25-
return modPow(a, MOD - 2);
25+
return modPow(a, MOD - 2L);
2626
}
2727

2828
public int xorAfterQueries(int[] nums, int[][] queries) {

src/main/java/g3601_3700/s3655_xor_after_range_multiplication_queries_ii/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.ArrayList;
66
import java.util.Arrays;
77

8-
@SuppressWarnings("unchecked")
8+
@SuppressWarnings({"unchecked", "java:S6541"})
99
public class Solution {
1010
private static final int MOD = 1000000007;
1111

0 commit comments

Comments
 (0)