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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.2
    • Fix Version/s: Next
    • Component/s: java - Hints
    • Environment:
      windows, jdk1.8
    • Flags:
      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

              • Assignee:
                errael Ernie Rael
                Reporter:
                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