[java-inspections] UseHashCodeMethodInspection: support double type

Also: fix comment processing
Improvement of IDEA-338114

GitOrigin-RevId: 87d057ccbea4262c40e2717c2ea3c004ac9865b0
This commit is contained in:
Tagir Valeev
2023-12-11 17:55:54 +01:00
committed by intellij-monorepo-bot
parent e356e99136
commit 6e1d684df0
14 changed files with 136 additions and 29 deletions

View File

@@ -4,6 +4,7 @@ public class Test {
Long var1 = 1234567890123456784L;
public void testMethod(boolean f) {
int result = (f ? var : var1).hashCode();
/*shift amount*/
int result = (f ? var : var1).hashCode();
}
}