Bug: Invocation of toString on array

Invocation of toString on ContextHelpPart.searchTerms in
org.eclipse.help.ui.internal.views.ContextHelpPart.updateDynamicHelp()

The code invokes toString on an array, which will generate a fairly
useless result such as [C@16f0472. Consider using Arrays.toString to
convert the array into a readable String that gives the contents of the
array. See Programming Puzzlers, chapter 3, puzzle 12.

Rank: Troubling (10), confidence: Normal
Pattern: DMI_INVOKING_TOSTRING_ON_ARRAY
Type: USELESS_STRING, Category: CORRECTNESS (Correctness)

Change-Id: I51839b10d082f3a5cf37519f4b1b03d4319d073a
Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
1 file changed