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-3990 gradle spotlessApply
[jalview.git]
/
src
/
jalview
/
io
/
SequenceAnnotationReport.java
diff --git
a/src/jalview/io/SequenceAnnotationReport.java
b/src/jalview/io/SequenceAnnotationReport.java
index
7fc04e1
..
c831366
100644
(file)
--- a/
src/jalview/io/SequenceAnnotationReport.java
+++ b/
src/jalview/io/SequenceAnnotationReport.java
@@
-539,7
+539,7
@@
public class SequenceAnnotationReport
protected int appendDbRefs(final StringBuilder sb, SequenceI ds,
boolean summary)
{
protected int appendDbRefs(final StringBuilder sb, SequenceI ds,
boolean summary)
{
- List<DBRefEntry> dbrefs,dbrefset = ds.getDBRefs();
+ List<DBRefEntry> dbrefs, dbrefset = ds.getDBRefs();
if (dbrefset == null)
{
if (dbrefset == null)
{
@@
-549,9
+549,9
@@
public class SequenceAnnotationReport
// PATCH for JAL-3980 defensive copy
dbrefs = new ArrayList<DBRefEntry>();
// PATCH for JAL-3980 defensive copy
dbrefs = new ArrayList<DBRefEntry>();
-
+
dbrefs.addAll(dbrefset);
dbrefs.addAll(dbrefset);
-
+
// note this sorts the refs held on the sequence!
dbrefs.sort(comparator);
boolean ellipsis = false;
// note this sorts the refs held on the sequence!
dbrefs.sort(comparator);
boolean ellipsis = false;