final ArrayList list =(ArrayList)retVal;
if (!list.isEmpty())
{
CLILogger.getInstance().printDetailMessage(getLocalizedString(
"JndiEntries", new Object[]
{(String) getOperands().get(0),
getOption(CONTEXT_OPTION)==null?
"root":getOption(CONTEXT_OPTION)}) );
final Iterator iterator= list.iterator();
while (iterator.hasNext())
{
final NameClassPair nameClassPair = (NameClassPair) iterator.next();
CLILogger.getInstance().printMessage(getLocalizedString("NameClassPair", new Object[]{nameClassPair.getName(), nameClassPair.getClassName()}));
}
}