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-3981 strategic newlines to help speed up Java's html parser
[jalview.git]
/
src
/
jalview
/
io
/
SequenceAnnotationReport.java
diff --git
a/src/jalview/io/SequenceAnnotationReport.java
b/src/jalview/io/SequenceAnnotationReport.java
index
c5bc902
..
369839a
100644
(file)
--- a/
src/jalview/io/SequenceAnnotationReport.java
+++ b/
src/jalview/io/SequenceAnnotationReport.java
@@
-493,6
+493,7
@@
public class SequenceAnnotationReport
sb.append(tmp);
maxWidth = Math.max(maxWidth, tmp.length());
}
sb.append(tmp);
maxWidth = Math.max(maxWidth, tmp.length());
}
+ sb.append("\n");
SequenceI ds = sequence;
while (ds.getDatasetSequence() != null)
{
SequenceI ds = sequence;
while (ds.getDatasetSequence() != null)
{
@@
-503,6
+504,7
@@
public class SequenceAnnotationReport
{
maxWidth = Math.max(maxWidth, appendDbRefs(sb, ds, summary));
}
{
maxWidth = Math.max(maxWidth, appendDbRefs(sb, ds, summary));
}
+ sb.append("\n");
/*
* add non-positional features if wanted
/*
* add non-positional features if wanted
@@
-576,7
+578,7
@@
public class SequenceAnnotationReport
countForSource++;
if (countForSource == 1 || !summary)
{
countForSource++;
if (countForSource == 1 || !summary)
{
- sb.append("<br/>");
+ sb.append("<br/>\n");
}
if (countForSource <= MAX_REFS_PER_SOURCE || !summary)
{
}
if (countForSource <= MAX_REFS_PER_SOURCE || !summary)
{