mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 09:36:56 +07:00
Fixes IDEA-252586 Wrong 'condition is always true' when element of double array is implicitly converted from int GitOrigin-RevId: 36cf865d5d9d88c14d2f3236a3d068555f7ca216
6 lines
166 B
Java
6 lines
166 B
Java
public class DoubleArrayDiff {
|
|
public static void test(int[] a, int[] b) {
|
|
double[] d1 = new double[]{b[0] - a[0], b[1] - a[1]};
|
|
if (d1[1] != 0.0) { }
|
|
}
|
|
} |