Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3380

"ConstantName" hint's flag "Check only immutable" uses incorrect prefs.getBoolean default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 11.2
    • Next
    • java - Hints
    • windows, jdk1.8

    • Patch

    Description

      For the indicated option, "prefs.getBoolean(str, default)" has different "default" for when displaying the options dialog and checking value for use. 

      FIX ATTACHED for ConstantNameHint.java (haven't learned git yet...)

      Attachments

        1. ConstantNameHint.java.diff
          0.8 kB
          Ernie Rael

        Issue Links

          Activity

            People

              errael Ernie Rael
              ErnieRael Ernie Rael
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h