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

Bug 322892

Summary: [nls tooling] Find Broken Externalized String fails when NLS accesor uses varargs
Product: [Eclipse Project] JDT Reporter: Juan omínguez <jdomigon>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, deepakazad, jdomigon
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Juan omínguez CLA 2010-08-17 07:41:35 EDT
Build Identifier: 20100617-1415

When the messages accesor class uses varargs to pass the arguments:
E.g. The following methods:
bind(String key, String arg1)
bind(String key, String arg1, String arg2)
bind(String key, String[] args)
Are substituted  for a single method:
bind(String key, String... args)

In this case, the "Find Broken Externalized String" action fails to take into account strings obtained using this method and passing arguments

Reproducible: Always
Comment 1 Dani Megert CLA 2010-08-17 09:05:32 EDT

*** This bug has been marked as a duplicate of bug 306336 ***