{
if (isNa != smtrx.isDNA())
{
- throw new InvalidSequenceTypeException("matrix "
- + smtrx.getClass().getCanonicalName()
- + " is not a valid matrix for "
- + (isNa ? "nucleotide" : "protein") + "sequences");
+ throw new InvalidSequenceTypeException(
+ "matrix " + smtrx.getClass().getCanonicalName()
+ + " is not a valid matrix for "
+ + (isNa ? "nucleotide" : "protein") + "sequences");
}
matrixEncode(smtrx.isDNA() ? ResidueProperties.nucleotideIndex
: ResidueProperties.aaIndex, smtrx.getMatrix());
for (int i = 0; i < binary.length; i++)
{
- out += (new Integer(binary[i])).toString();
+ out += (Integer.valueOf(binary[i])).toString();
if (i < (binary.length - 1))
{