Вызов toString в массиве - FindBugs

Я получаю следующую ошибку Findbugs для моего кода,

Invocation of toString on <<Package Path>>

 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. 

Код:

logger.info("Adding information"+ Employee.getName()+ " "+
            employeeForm.getQuestionAndAnswers());

Сообщите мне, в чем заключается ошибка.

10
задан M. A. Kishawy 4 May 2015 в 18:03
поделиться