Friends of Sonar,
I'm currently trying to identify places in which we could remove the
array creation because we adjusted the method declaration to use
varargs.
Wrong
----------------
NLS.bind(WorkbenchNavigatorMessages.ProjectExplorer_toolTip,
new String[] { workingSetLabel });
-----------------
Correct:
-----------------
NLS.bind(WorkbenchNavigatorMessages.ProjectExplorer_toolTip, workingSetLabel);
-----------------
Does Sonar support this?
I currently do not see related messages, e.g.,
https://sonar.eclipse.org/dashboard/index/53383
Best regards, Lars
--
Eclipse Platform project co-lead
CEO vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email:
lars....@vogella.com, Web:
http://www.vogella.com