AnsweredAssumed Answered

ISSUE - NodeSearcher.java

Question asked by federicocairo on Jul 8, 2009
Latest reply on Jul 9, 2009 by federicocairo
I found a curious part of Java source code in org.alfresco.repo.search.impl.NodeSearcher.selectNodes() version 3.2 of Alfresco Lab:

nearly row 165

                for(NodeRef node : answer)
                {
                    StringBuffer buffer = new StringBuffer();
                    for (AttributeOrder attOrd : order)
                    {
                        buffer.append(" ").append(nodeService.getProperty(node, attOrd.attribute));
                    }
                }

What's the use of this StringBuffer? Is it useful?

Outcomes