This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_92
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.92-b14
Reproducibility: null
STEPS:
* Create a new Maven project in NetBeans.
* Create the following class in the project:
public class FooBar {
public static final String FOO_M1_BAR = "foobar";
public static final String FOO_42 = "foo";
public static final String FOO_42_BAR = "bar";
}
ACTUAL:
NetBeans underlines name FOO_42_BAR and marks its line with a yellow triangle. When hovering over the triangle mark, the following hint is displayed: "Constant name does not follow naming conventions: FOO_42_BAR".
EXPECTED:
Nothing is marked as wrong