Entry[] outEntries = new Entry[entries.size()]; for(int i = 0; i < outEntries.length; i++) { outEntries[i] = entries.getEntry(i); }
    public void output(PrintWriter writer)                throws OperationException    {        if ( mode == null )            loadOutputMode("", registry);        try {            Entry[] outEntries = new Entry[entries.size()];            for(int i = 0; i < outEntries.length; i++) {                outEntries[i] = entries.getEntry(i);            }            if ( !truncation ) {                Configuration conf = registry.getConfiguration();                Map reqArgs = conf.getProperties();                reqArgs.put(StringUtil.PROP_TRUNCLENGTH, "-1");                conf.setRequestArguments(reqArgs);            }                        LOG.fine("Running OutputMode "+mode.getClass());            mode.output(registry, this, writer, outEntries);        } finally {            writer.flush();        }    }