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

Bug 338524

Summary: Avoid using class MessageFormat
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTDTAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8   
Target Milestone: 0.8 M6   
Hardware: Other   
OS: Linux   
Whiteboard:

Description Stephan Herrmann CLA 2011-03-01 06:39:19 EST
The rules for the simultaneous release require
 "Excel in NL support. The Project must use ICU4J, where appropriate, 
  to excel in NL support."
Scanning the documentation I found one class that should be avoided and is 
actually in use by the OTDT: java.text.MessageFormat.

This should be fixed by simply switching to org.eclipse.osgi.util.NLS.
Still, care must be taken that no classes of the batch compiler have
a dependency on osgi.
Comment 1 Stephan Herrmann CLA 2011-03-01 09:39:41 EST
Resolved in a big clean-up (revisions 1340 - 1348).
Comment 2 Stephan Herrmann CLA 2011-03-01 09:40:43 EST
.
Comment 3 Stephan Herrmann CLA 2011-06-07 09:50:35 EDT
Verified by search over source code:
no more references to java.text.MessageFormat in our code.