if (mapping.isEmpty())
{
- throw new SiftsException(
- "SIFTS mapping failed - falling back on Needleman-Wunsch");
+ throw new SiftsException("SIFTS mapping failed");
}
Integer[] keys = mapping.keySet().toArray(new Integer[0]);
if (sPojo[0].entityId != null)
{
+ if (sPojo[0].pid < 1)
+ {
+ return null;
+ }
for (Entity entity : entities)
{
if (!entity.getEntityId().equalsIgnoreCase(sPojo[0].entityId))