mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
[java-inspections] UseHashCodeMethodInspection: support double type
Also: fix comment processing Improvement of IDEA-338114 GitOrigin-RevId: 87d057ccbea4262c40e2717c2ea3c004ac9865b0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e356e99136
commit
6e1d684df0
@@ -0,0 +1,7 @@
|
||||
// "Replace with 'Double.hashCode()'" "true-preview"
|
||||
public class Test {
|
||||
void test(Double d) {
|
||||
long l = Double.doubleToLongBits(/*comment*/d);
|
||||
System.out.println((int) (l ^ <caret>(l >>> 32)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user