Files
Tagir Valeevandintellij-monorepo-bot 6e1d684df0 [java-inspections] UseHashCodeMethodInspection: support double type
Also: fix comment processing
Improvement of IDEA-338114

GitOrigin-RevId: 87d057ccbea4262c40e2717c2ea3c004ac9865b0
2023-12-11 21:37:14 +00:00

10 lines
257 B
Java

// "Replace with 'Long.hashCode()'" "true-preview"
public class Test {
Long var = 1234567890123456789L;
Long var1 = 1234567890123456784L;
public void testMethod(boolean f) {
/*shift amount*/
int result = (f ? var : var1).hashCode();
}
}