X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fws%2Fjabaws%2FDisorderAnnotExportImport.java;h=6698ed112eb76d610e01388c7f862b8aa6432876;hb=7692386ccfe778075dd83a753d30a7a27fe507be;hp=e8b6c2bd1caec3eb3322367e03ffc4e3607152d9;hpb=136c0793b90b72b928c4d77dc109dd5c644e00d3;p=jalview.git diff --git a/test/jalview/ws/jabaws/DisorderAnnotExportImport.java b/test/jalview/ws/jabaws/DisorderAnnotExportImport.java index e8b6c2b..6698ed1 100644 --- a/test/jalview/ws/jabaws/DisorderAnnotExportImport.java +++ b/test/jalview/ws/jabaws/DisorderAnnotExportImport.java @@ -82,10 +82,10 @@ public class DisorderAnnotExportImport Thread.sleep(100); } - iupreds = new ArrayList(); + iupreds = new ArrayList<>(); for (Jws2Instance svc : disc.getServices()) { - if (svc.getServiceTypeURI().toLowerCase().contains("iupredws")) + if (svc.getNameURI().toLowerCase().contains("iupredws")) { iupreds.add(svc); } @@ -129,7 +129,7 @@ public class DisorderAnnotExportImport AlignmentI orig_alig = af.getViewport().getAlignment(); // NOTE: Consensus annotation row cannot be exported and reimported // faithfully - so we remove them - List toremove = new ArrayList(); + List toremove = new ArrayList<>(); for (AlignmentAnnotation aa : orig_alig.getAlignmentAnnotation()) { if (aa.autoCalculated)