if (lcses.isEmpty())
return -1;
else {
if (paths != null) {
for (ConcRel lcs : lcses) {
LCSPath lcsPath = new LCSPath();
lcsPath.setLcs(lcs.getConceptID());
lcsPath.setConcept1Path(crListToString(paths1.get(lcs)));
lcsPath.setConcept2Path(crListToString(paths2.get(lcs)));
paths.put(lcs, lcsPath);
}
}
return minDist;
}