Bug 186978 - Wrong package name fools the type assistant
Summary: Wrong package name fools the type assistant
Status: CLOSED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0 RC0   Edit
Assignee: Chuck Bridgham CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2007-05-15 06:54 EDT by Kaloyan Raev CLA
Modified: 2007-06-06 10:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2007-05-15 06:54:46 EDT
Steps to reproduce: 
1. Open a java class in the Java editor. 
2. Place the cursor somewhere in a method body. 
3. Type "org.".
4. The hint window for package name pops up. 

The problem is that the first hint is "org.eclipise" (not the surplus "i"). This is hard to notice at first sight and leads to bad user experience. 

The root cause is that in the org.eclipse.jst.j2ee.core plugin there are two new classes defined in package "org.eclipise.jst.jee.util.internal". These two classes are index by the type assistant and the described effect is experienced. 

The solution is as easy as refactoring the package name to the correct one. The two classes are quite new (intial version 02 May 2007) and this should not break any adopter. Moreover the package is "internal".
Comment 1 Chuck Bridgham CLA 2007-05-17 11:20:38 EDT
I put this change in last night as part of other work.
Comment 2 Kaloyan Raev CLA 2007-05-18 04:17:31 EDT
Verified with the S-2.0RC0-200705170850 build.
Comment 3 John Lanuti CLA 2007-06-06 10:13:18 EDT
Closing as verified.