errael commented on issue #1642: [NETBEANS-3380] Fix default of 
checkOnlyImmutables option in Constant…
URL: https://github.com/apache/netbeans/pull/1642#issuecomment-555877859
 
 
   >
   > ...that default seems to be ignored...
   >
   Could it be that in your situation the preference had been set and so the 
default would no longer matter?
   
   I ran into this just after a clean install with no preferences (options) 
imported, and the problem went away after I toggled the option with the dialog 
forcing a value into the file. I was able to recreate the bug without totally 
starting from scratch by closing NB, deleting the preference line 
"onlyCheckImmutables=true" from the file
   
   
userdir/config/Preferences/org/netbeans/modules/java/hints/default/org.netbeans.modules.java.hints.suggestions.ConstantNameHint.properties,
   
   restart NB and observe the bug: the options dialog had "only check 
immutable" checked, but in the editor something like
   
       _private static final Map<Date, Object> tcChecked = new 
WeakHashMap<Date, Object>();_
   
   had hint even though _tcChecked_ was mutable.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to