Summary: | [assist] JavaCorePreferenceInitializer does not initialized CODEASSIST_DISCOURAGED_REFERENCE_CHECK | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tom Hofmann <eclipse> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | markus.kell.r |
Version: | 3.1 | ||
Target Milestone: | 3.1 RC1 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Tom Hofmann
2005-05-24 13:16:40 EDT
That's right Fixed. I made the same error inside AssistOptions#set(Map optionsMap) This code if ((optionValue = optionsMap.get(OPTION_OPTION_PerformForbiddenReferenceCheck)) != null) { if (ENABLED.equals(optionValue)) { this.checkDiscouragedReference = true; } else if (DISABLED.equals(optionValue)) { this.checkDiscouragedReference = false; } } must be if ((optionValue = optionsMap.get(OPTION_PerformDiscouragedReferenceCheck)) != null) { if (ENABLED.equals(optionValue)) { this.checkDiscouragedReference = true; } else if (DISABLED.equals(optionValue)) { this.checkDiscouragedReference = false; } } Fixed. Verified on build I20050527-0010. |