Java: Switch to the shared Guards library.

This commit is contained in:
Anders Schack-Mulligen
2025-05-15 16:23:21 +02:00
parent cc13193cb6
commit 5c0dcd980d
19 changed files with 488 additions and 788 deletions

View File

@@ -60,7 +60,7 @@ public class C {
arrLen = arr == null ? 0 : arr.length;
}
if (arrLen > 0) {
arr[0] = 0; // NPE - false positive
arr[0] = 0; // OK
}
}