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.
The following code snip demonstrates this issue. public class PaneBorder extends AbstractBorder { ... private Color color; private int inset; // Hint reports "Field inset can be final" public PaneBorder() { color = Color.LIGHT_GRAY; inset = 1; } public PaneBorder(int gap) { this(); inset += gap; } ... }
reproducible
*** This bug has been marked as a duplicate of bug 240163 ***