| Summary: | NLS.initializeMessages() parameter description confusing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | John Cortell <john.cortell> | ||||
| Component: | Framework | Assignee: | Thomas Watson <tjwatson> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tjwatson | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 3.7 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
John Cortell
agreed. I will work on fixing this. Created attachment 173820 [details]
javadoc patch
Here is an attempt to improve the javadoc for initializeMessages. I changed the bundleName param name to baseName. I also documented that the class loader of the specified class is used to load the message properties resource. I hope this makes things a bit more clear.
I released this to head. Feel free to reopen if you have suggestions for additional improvements. (In reply to comment #2) > Created an attachment (id=173820) [details] > javadoc patch > > Here is an attempt to improve the javadoc for initializeMessages. I changed > the bundleName param name to baseName. I also documented that the class loader > of the specified class is used to load the message properties resource. I hope > this makes things a bit more clear. Tons clearer. Thanks. BTW, I think there might be a word missing in the second sentence, specifically the section starting with "including the package...". Either "package *where*" or "located *in*" would fix the grammar, I believe. Regardless, the message is clear and this is a huge improvement. (In reply to comment #4) > (In reply to comment #2) > > Created an attachment (id=173820) [details] [details] > > javadoc patch > > > > Here is an attempt to improve the javadoc for initializeMessages. I changed > > the bundleName param name to baseName. I also documented that the class loader > > of the specified class is used to load the message properties resource. I hope > > this makes things a bit more clear. > > Tons clearer. Thanks. BTW, I think there might be a word missing in the second > sentence, specifically the section starting with "including the package...". > Either "package *where*" or "located *in*" would fix the grammar, I believe. > > Regardless, the message is clear and this is a huge improvement. I released an update to add the missing word *where*. Thanks for the review. |