Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

90406: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      90364: Merged DEV to V4.2-BUG-FIX (4.2.4)
         90289 : MNT-12703: NPE at navigation via NodeBrowser
            - Initializing of variable


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-01-31 10:51:29 +00:00
parent 63c380354a
commit 3f549b3f6d

View File

@@ -386,6 +386,8 @@ public class NodeBrowserScript extends DeclarativeWebScript implements Serializa
catch (UnsupportedOperationException err)
{
// some stores do not support associations
// but we doesn't want NPE in code below
refs = new ArrayList<AssociationRef>();
}
List<PeerAssociation> assocs = new ArrayList<PeerAssociation>(refs.size());
for (AssociationRef ref : refs)