mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 02:24:00 +07:00
GitOrigin-RevId: 5c958dfd8b5f55e9e5bede82be5015c3299dd16e
12 lines
393 B
Java
12 lines
393 B
Java
// "Fix all 'Integer multiplication or shift implicitly cast to 'long'' problems in file" "true"
|
|
class Test {
|
|
void test(int a, int b) {
|
|
long c = a * (<caret>a * b);
|
|
long d = (a * (b * (a * (b * 2)));
|
|
long e = -(-a * -(-a * -b));
|
|
long f = a * ((a == 2) ? b * a : a);
|
|
long g = a + (a + ((a + b) * (a + b)));
|
|
long h = a << (a * b);
|
|
long i = (a * b) << (b * a);
|
|
}
|
|
} |