java: Inline expectation should have space before $

This commit is contained in:
Owen Mansel-Chan
2026-03-04 12:09:06 +00:00
parent ddebdad9e1
commit f41c30e335
11 changed files with 301 additions and 301 deletions

View File

@@ -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;
}
}
}