mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 04:03:20 +07:00
GitOrigin-RevId: c0b766b88a34cfccf4a349ffb0ae8cdd0d986ae8
12 lines
271 B
Java
12 lines
271 B
Java
import java.awt.Color;
|
|
|
|
class UseGrayConstantFixWhenNumberConstantsReferenced {
|
|
|
|
private static final int GRAY_VALUE = 125;
|
|
|
|
void any() {
|
|
Color gray = <warning descr="'java.awt.Color' used for gray">new Col<caret>or(GRAY_VALUE, 125, GRAY_VALUE)</warning>;
|
|
}
|
|
|
|
}
|