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

Bug 324735

Summary: Refactor RWT.NLS
Product: [RT] RAP Reporter: Holger Staudacher <holger.staudacher>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 1.4   
Target Milestone: 1.5 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Holger Staudacher CLA 2010-09-08 09:04:50 EDT
The RWT.NLS class has two methods which expect both two arguments. The first argument is called bundle name. But the i18n doesn't work when you pass the bundle name. You have to pass the package name ending with the name of the .properties file of your strings. I think the parameters and the description of the parameters should be renamed to avoid miss interpretation.
Comment 1 Ivan Furnadjiev CLA 2010-09-09 08:20:50 EDT
Bundle means resource bundle - see http://download.oracle.com/javase/1.4.2/docs/api/java/util/ResourceBundle.html. I think that this is the correct naming.
Comment 2 Ralf Sternberg CLA 2010-09-10 08:10:53 EDT
The original NLS class also uses this variable name. How about changing the Javadoc for this variable to use the term "resource bundle"?
Comment 3 Ivan Furnadjiev CLA 2011-11-07 08:15:04 EST
(In reply to comment #2)
> How about changing the Javadoc for this variable to use the term "resource bundle"?
Fixed as suggested - using the term "resource bundle" in the JavaDoc.