mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
java: Inline expectation should have space before $
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
@ThreadSafe
|
||||
public class Escaping {
|
||||
int x; //$ Alert
|
||||
public int y = 0; //$ Alert
|
||||
int x; // $ Alert
|
||||
public int y = 0; // $ Alert
|
||||
private int z = 3;
|
||||
final int w = 0;
|
||||
public final int u = 4;
|
||||
private final long a = 5;
|
||||
protected long b = 0; //$ Alert
|
||||
protected long b = 0; // $ Alert
|
||||
protected final long c = 0L;
|
||||
volatile long d = 3;
|
||||
protected volatile long e = 3L;
|
||||
@@ -14,4 +14,4 @@ public class Escaping {
|
||||
public void methodLocal() {
|
||||
int i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user