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
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' of https://source.jalview.org/git...
[jalview.git]
/
src
/
jalview
/
appletgui
/
PaintRefresher.java
diff --git
a/src/jalview/appletgui/PaintRefresher.java
b/src/jalview/appletgui/PaintRefresher.java
index
fe99187
..
ddf590e
100755
(executable)
--- a/
src/jalview/appletgui/PaintRefresher.java
+++ b/
src/jalview/appletgui/PaintRefresher.java
@@
-52,7
+52,7
@@
public class PaintRefresher
{
if (components == null)
{
{
if (components == null)
{
- components = new Hashtable<String, Vector<Component>>();
+ components = new Hashtable<>();
}
if (components.containsKey(seqSetId))
}
if (components.containsKey(seqSetId))
@@
-191,8
+191,8
@@
public class PaintRefresher
{
// TODO: the following does not trigger any recalculation of
// height/etc, or maintain the dataset
{
// TODO: the following does not trigger any recalculation of
// height/etc, or maintain the dataset
- List<SequenceI> alsq;
- synchronized (alsq = comp.getSequences())
+ List<SequenceI> alsq = comp.getSequences();
+ synchronized (alsq)
{
alsq.add(i, a1[i]);
}
{
alsq.add(i, a1[i]);
}