mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
1. Relational operators are promoted according to JLS, not always to double type (IDEA-199775) 2. Casting to boxed type is disabled, as JLS 15.28 suggests Result of boxed comparison like (Long)128L == (Long)128L is unknown now as size of boxing cache is not specified in JLS
4 lines
177 B
Java
4 lines
177 B
Java
// "Replace '0x7fffffffffffffffL == 0x7ffffffffffffffeL' with constant value 'false'" "true"
|
|
class Test {
|
|
boolean result = 0x7fffffffffffffffL<caret> == 0x7ffffffffffffffeL;
|
|
} |