@@ -43,11 +43,11 @@ public class MultipleSequenceAlignmentTest {
4343
4444 @ Before
4545 public void setup () throws CompoundNotFoundException {
46- msaProteins = new MultipleSequenceAlignment <ProteinSequence , AminoAcidCompound >();
46+ msaProteins = new MultipleSequenceAlignment <>();
4747 for (int i = 0 ; i < 8 ; i ++) {
4848 msaProteins .addAlignedSequence (new ProteinSequence ("ARNDCEQGHILKMFPSTWYVBZJX" ));
4949 }
50- msaDNA = new MultipleSequenceAlignment <DNASequence , NucleotideCompound >();
50+ msaDNA = new MultipleSequenceAlignment <>();
5151 for (int i = 0 ; i < 7 ; i ++) {
5252 msaDNA .addAlignedSequence (new DNASequence ("ATCGATCGATCGATCG" ));
5353 }
@@ -56,13 +56,13 @@ public void setup() throws CompoundNotFoundException {
5656 @ Test
5757 public void testGetCompoundsAt () {
5858 AminoAcidCompound aminoAcid = AminoAcidCompoundSet .getAminoAcidCompoundSet ().getCompoundForString ("N" );
59- List <AminoAcidCompound > colProteins = new ArrayList <AminoAcidCompound >();
59+ List <AminoAcidCompound > colProteins = new ArrayList <>();
6060 for (int i = 0 ; i < 8 ; i ++) {
6161 colProteins .add (aminoAcid );
6262 }
6363 assertEquals (msaProteins .getCompoundsAt (3 ), colProteins );
6464 NucleotideCompound nucleotide = DNACompoundSet .getDNACompoundSet ().getCompoundForString ("C" );
65- List <NucleotideCompound > colDNA = new ArrayList <NucleotideCompound >();
65+ List <NucleotideCompound > colDNA = new ArrayList <>();
6666 for (int i = 0 ; i < 7 ; i ++) {
6767 colDNA .add (nucleotide );
6868 }
0 commit comments