Skip to content

Commit eb4d2d4

Browse files
authored
Merge pull request #1013 from AzureAD/alert-autofix-18
Potential fix for code scanning alert no. 18: Implicit narrowing conversion in compound assignment
2 parents c475312 + 014827c commit eb4d2d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal4j-persistence-extension/src/test/java/com/microsoft/aad/msal4jextensions/CacheLockTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void validateLockUsageIntervals(int expected_size) throws IOException {
108108

109109
list.sort(Comparator.comparingLong(a -> a[0]));
110110

111-
int sum = 0;
111+
long sum = 0L;
112112
Long[] prev = null;
113113
for (Long[] interval : list) {
114114
Assert.assertTrue(interval[0] <= interval[1]);

0 commit comments

Comments
 (0)