Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 282664

Summary: ComboBox#setText works wrong
Product: [RT] RAP Reporter: Igor Pavlenko <dopperst>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch to fix the problem none

Description Igor Pavlenko CLA 2009-07-07 08:46:06 EDT
ComboBox#setText works wrong. The fix is very simple.

Replace:
if( verifiedText == items[i] ) {

with:
if( verifiedText.equals( items[i] ) ) {

Strings should be compared with equal method =)
Comment 1 Igor Pavlenko CLA 2009-07-07 08:46:39 EDT
Created attachment 140954 [details]
Patch to fix the problem
Comment 2 Ivan Furnadjiev CLA 2009-07-07 08:54:28 EDT

*** This bug has been marked as a duplicate of bug 280994 ***