Bug 1888 - StringConverter.removeWhiteSpaces should use Character.isWhitespace() (1GA8LD0)
Summary: StringConverter.removeWhiteSpaces should use Character.isWhitespace() (1GA8LD0)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Randy Giffen CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2001-10-10 22:21 EDT by Jim des Rivieres CLA
Modified: 2002-03-19 15:30 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2001-10-10 22:21:36 EDT
2 problems with implementation of 
com.ibm.jface.resource.StringConverter.removeWhiteSpaces(String)

1) 
 * [Issue: This method should probably use Character.isWhitespace()
 *  as its definition of whitespace to be consistent with the
 *  Java platform.

2)
 * [Issue: This method should be rewritten to avoid creating
 *  unnecesasary garbage in the common case where the source
 *  string does not contain any whitespace.

NOTES:
Comment 1 DJ Houghton CLA 2001-10-24 06:49:03 EDT
PRODUCT VERSION:

eclipse 032

Comment 2 Kevin Haaland CLA 2002-01-21 19:49:52 EST
Pls investigate in latest builds. 
Comment 3 Randy Giffen CLA 2002-03-19 15:30:04 EST
Fixed > 20020319