Bug 120545

Summary: Misleading constant: CODEASSIST_TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: 3.1   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dani Megert CLA 2005-12-13 06:46:31 EST
I20051213-0010

CODEASSIST_TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC is not restricted to code assist but affects all clients using BinaryMethod.getParamterNames() which is OK. To be correct we should rename the constant to:
TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC.
Comment 1 Olivier Thomann CLA 2005-12-13 14:31:11 EST
No problem for me, but this requires the UI to change at the same time.
Let me know when you want to do it.
Comment 2 Philipe Mulet CLA 2005-12-13 14:38:08 EST
+1 for M4
Comment 3 Olivier Thomann CLA 2005-12-13 14:52:05 EST
Fixed and released in HEAD.
Please update the UI side. The old constant is deprecated and will be removed right after M4.
Comment 4 Dani Megert CLA 2005-12-14 03:19:12 EST
I've released the UI side of this fix.
Will be in I20051214-0800.
Comment 5 David Audel CLA 2005-12-14 05:08:16 EST
Verified for 3.2 M4 using build I20051214-0010

The Javadoc of JavaCore#getDefaultOptions() doesn't contain the description of
TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC.