Merge branch 'kjvdh/features/testing' into spikes/koen
[jalview.git] / src / jalview / appletgui / RedundancyPanel.java
index 2aba20c..c7d8157 100644 (file)
@@ -89,7 +89,7 @@ public class RedundancyPanel extends SliderPanel
 
     frame.addWindowListener(this);
 
-    Thread worker = new Thread(this);
+    Thread worker = new Thread(this, "RedundancyCalcThread");
     worker.start();
   }
 
@@ -160,7 +160,7 @@ public class RedundancyPanel extends SliderPanel
 
     float value = slider.getValue();
 
-    List<SequenceI> redundantSequences = new ArrayList<SequenceI>();
+    List<SequenceI> redundantSequences = new ArrayList<>();
     for (int i = 0; i < redundancy.length; i++)
     {
       if (value <= redundancy[i])
@@ -247,7 +247,7 @@ public class RedundancyPanel extends SliderPanel
               ap.av.getAlignment().getSequences());
     }
 
-    ap.paintAlignment(true);
+    ap.paintAlignment(true, true);
 
     if (historyList.size() == 0)
     {