git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4235 JAL-3599 Try and report Eclipse Product Version for jalviewjsTranspile....
[jalview.git]
/
src
/
jalview
/
schemes
/
RNAHelicesColourChooser.java
diff --git
a/src/jalview/schemes/RNAHelicesColourChooser.java
b/src/jalview/schemes/RNAHelicesColourChooser.java
index
15cb157
..
9809fa9
100644
(file)
--- a/
src/jalview/schemes/RNAHelicesColourChooser.java
+++ b/
src/jalview/schemes/RNAHelicesColourChooser.java
@@
-58,7
+58,7
@@
public class RNAHelicesColourChooser
oldcs = av.getGlobalColourScheme();
if (av.getAlignment().getGroups() != null)
{
oldcs = av.getGlobalColourScheme();
if (av.getAlignment().getGroups() != null)
{
- oldgroupColours = new Hashtable<SequenceGroup, ColourSchemeI>();
+ oldgroupColours = new Hashtable<>();
for (SequenceGroup sg : ap.getAlignment().getGroups())
{
if (sg.getColourScheme() != null)
for (SequenceGroup sg : ap.getAlignment().getGroups())
{
if (sg.getColourScheme() != null)
@@
-71,7
+71,7
@@
public class RNAHelicesColourChooser
this.ap = ap;
adjusting = true;
this.ap = ap;
adjusting = true;
- Vector<String> list = new Vector<String>();
+ Vector<String> list = new Vector<>();
int index = 1;
AlignmentAnnotation[] anns = av.getAlignment().getAlignmentAnnotation();
if (anns != null)
int index = 1;
AlignmentAnnotation[] anns = av.getAlignment().getAlignmentAnnotation();
if (anns != null)
@@
-105,6
+105,6
@@
public class RNAHelicesColourChooser
av.setGlobalColourScheme(rhc);
av.setGlobalColourScheme(rhc);
- ap.paintAlignment(true);
+ ap.paintAlignment(true, true);
}
}
}
}