From: kiramt Date: Fri, 12 Jan 2018 11:37:03 +0000 (+0000) Subject: JAL-2886 trivial unit test fix X-Git-Tag: Release_2_10_3b1~3^2~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=eb1d35126a56bdde999364c78e9db854278e5943;p=jalview.git JAL-2886 trivial unit test fix --- diff --git a/test/jalview/gui/StructureChooserTest.java b/test/jalview/gui/StructureChooserTest.java index 4535c93..91fe602 100644 --- a/test/jalview/gui/StructureChooserTest.java +++ b/test/jalview/gui/StructureChooserTest.java @@ -65,7 +65,7 @@ public class StructureChooserTest PDBEntry dbRef = new PDBEntry(); dbRef.setId("1tim"); - Vector pdbIds = new Vector(); + Vector pdbIds = new Vector<>(); pdbIds.add(dbRef); seq.setPDBId(pdbIds); @@ -133,7 +133,7 @@ public class StructureChooserTest assertTrue(sc.getCmbFilterOption().getSelectedItem() != null); FilterOption filterOpt = (FilterOption) sc.getCmbFilterOption() .getSelectedItem(); - assertEquals("Cached PDB Entries", filterOpt.getName()); + assertEquals("Cached Structures", filterOpt.getName()); } @Test(groups = { "Network" })