Skip to content

Commit 1a59839

Browse files
authored
Range library recognises long literals now
1 parent e37336d commit 1a59839

File tree

1 file changed

+1
-1
lines changed
  • java/ql/test/query-tests/security/CWE-532

1 file changed

+1
-1
lines changed

java/ql/test/query-tests/security/CWE-532/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ void test(String password, String authToken, String username, String nullToken,
66
int zero = 0;
77
int four = 4;
88
short zeroS = 0;
9-
long fourL = 4;
9+
long fourL = 4L;
1010

1111
logger.info("User's password is: " + password); // $ Alert
1212
logger.error("Auth failed for: " + authToken); // $ Alert

0 commit comments

Comments
 (0)