Bug 302888 - Translation Question - WSW36#002
Summary: Translation Question - WSW36#002
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 15:09 EST by Nicko Guyer CLA
Modified: 2010-03-08 13:33 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicko Guyer CLA 2010-02-15 15:09:27 EST
Build Identifier: 

I have a question from a translator with regard to the JDT core. Clarification would be appreciated:

Hello, Please, look at the following part of segment in eclipse\plugins\org.eclipse.jdt.core\org\eclipse\jdt\internal\compiler\batch\messages.properties: 
unusedAllocation allocating an object that is not used\n 
\ unusedArgument unread method parameter\n 
\ unusedImport + unused import declaration\n 
\ unusedLabel + unused label\n 
\ unusedLocal + unread local variable\n 
\ unusedPrivate + unused private member declaration\n 
\ unusedThrown unused declared thrown exception\ 

As you can notice, there seems to be two mismatches between the option tag and the explanation: unusedArgument and unusedLocal. The description is UNREAD. Is that ok? Thank you in advance.

Reproducible: Always
Comment 1 Olivier Thomann CLA 2010-02-15 15:57:45 EST
yes, this is ok.
unread means that the local is never used. You could assign a value to a local variable, but if you never read it, it is useless. So "unused local variable" could be misleading if the local variable is used in write access, but never is read access.
Same applies for arguments.

Hope this clarifies the documentation.
Closing as INVALID as nothing needs to be done. Reopen if you want more details.
Comment 2 Frederic Fusier CLA 2010-03-08 13:33:16 EST
Verified