Bug 203964 - Consider removing NamingConventions#convertCharsToString and convertStringToChars
Summary: Consider removing NamingConventions#convertCharsToString and convertStringToC...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 08:54 EDT by Maxime Daniel CLA
Modified: 2010-09-07 15:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Daniel CLA 2007-09-19 08:54:26 EDT
Source based, v_813.

I believe that convertCharsToString could be replaced by one of the methods of CharOperation, pending some checks on precises behaviors (there are already two methods in CharOperation that convert from char[][] to String[]). This may also be an opportunity to consider adding a String[] to char[][] conversion to CharOperation and to leverage it instead of having a private convertStringsToChars in NamingConventions.
Comment 1 Olivier Thomann CLA 2010-09-07 15:16:37 EDT
Ayushman, please follow up. Low priority though.