if (vbound.getV_parent() != null
&& dataset != vbound.getV_parent())
{
- throw new Error(MessageManager.getString(
- "error.implementation_error_cannot_map_alignment_sequences"));
- // This occurs because the dataset for the alignment we are
- // trying to
+ throw new Error(
+ "IMPLEMENTATION ERROR: Cannot map an alignment of sequences from different datasets into a single alignment in the vamsas document.");
}
}
}
Float val = null;
try
{
- val = new Float(props[p].getContent());
+ val = Float.valueOf(props[p].getContent());
} catch (Exception e)
{
Cache.log.warn("Failed to parse threshold property");
int se_end = se[1 - se[2]] + (se[2] == 0 ? 1 : -1);
for (int p = se[se[2]]; p != se_end; p += se[2] == 0 ? 1 : -1)
{
- posList.add(new Integer(p));
+ posList.add(Integer.valueOf(p));
}
}
}
for (int p = 0, pSize = dseta.getPosCount(); p < pSize; p++)
{
pos = dseta.getPos(p).getI();
- posList.add(new Integer(pos));
+ posList.add(Integer.valueOf(pos));
}
}
}