175176177178179180181182183184185
for (int i = p.getNumChildren(); i-- > 0;) { PropertyKey child = p.getChild(i); boolean shouldPrune = isProject || pruneForDisplay(hier, child); if (shouldPrune) p.removeChild(i); } return isProject == false && p.getNumChildren() == 0; }