if ((wrappers != null) && (wrappers.size() > 0)) {
ArrayList<BreadCrumbSet> results = new ArrayList<BreadCrumbSet>();
for (int m = 0; m < wrappers.size(); m++) {
String pathToWrapper = wrappers.get(m).getPath();
BreadCrumbSet set = new BreadCrumbSet();
if (pathToWrapper.length() > 0) {
if (pathToWrapper.startsWith("/")) {
pathToWrapper = pathToWrapper.substring(1);
}
String[] splitPath = pathToWrapper.split("\\/");
for (int n = 0; n < splitPath.length; n++) {
set.addBreadCrumb(getTreeNodeFromTree(
projectTreeMap.get(projectHandle),
Integer.parseInt(splitPath[n]), mustBeActive)
.getVociBusinessObject());
}
}