System.out.println("Type: " + source);
SequenceI[] prod = crossRef.findXrefSequences(source, dna)
.getSequencesArray();
- System.out.println("Found "
- + ((prod == null) ? "no" : "" + prod.length)
- + " products");
+ System.out.println(
+ "Found " + ((prod == null) ? "no" : "" + prod.length)
+ + " products");
if (prod != null)
{
for (int p = 0; p < prod.length; p++)
{
- System.out.println("Prod " + p + ": "
- + prod[p].getDisplayId(true));
+ System.out.println(
+ "Prod " + p + ": " + prod[p].getDisplayId(true));
}
}
}
}
else
{
- noProds.addElement((dna ? new Object[] { al, al }
- : new Object[] { al }));
+ noProds.addElement(
+ (dna ? new Object[]
+ { al, al } : new Object[] { al }));
}
}
// present)
for (int p = 0; p < prod.length; p++)
{
- System.out.println("Prod " + p + ": "
- + prod[p].getDisplayId(true));
+ System.out.println(
+ "Prod " + p + ": " + prod[p].getDisplayId(true));
}
}
}