Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/useHashCode/afterSimple.java
Tagir Valeev 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

9 lines
203 B
Java

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