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-1645 source formatting and organise imports
[jalview.git]
/
src
/
jalview
/
datamodel
/
Sequence.java
diff --git
a/src/jalview/datamodel/Sequence.java
b/src/jalview/datamodel/Sequence.java
index
19ad30f
..
c7581d8
100755
(executable)
--- a/
src/jalview/datamodel/Sequence.java
+++ b/
src/jalview/datamodel/Sequence.java
@@
-59,7
+59,6
@@
public class Sequence extends ASequence implements SequenceI
RNA rna;
RNA rna;
-
/**
* This annotation is displayed below the alignment but the positions are tied
* to the residues of this sequence
/**
* This annotation is displayed below the alignment but the positions are tied
* to the residues of this sequence
@@
-748,8
+747,7
@@
public class Sequence extends ASequence implements SequenceI
{
if (lastj != -1)
{
{
if (lastj != -1)
{
- map.add(new int[]
- { lastj, j - 1 });
+ map.add(new int[] { lastj, j - 1 });
lastj = -1;
}
}
lastj = -1;
}
}
@@
-757,8
+755,7
@@
public class Sequence extends ASequence implements SequenceI
}
if (lastj != -1)
{
}
if (lastj != -1)
{
- map.add(new int[]
- { lastj, j - 1 });
+ map.add(new int[] { lastj, j - 1 });
lastj = -1;
}
return map;
lastj = -1;
}
return map;
@@
-956,7
+953,6
@@
public class Sequence extends ASequence implements SequenceI
.toArray(new AlignmentAnnotation[annotation.size()]);
}
.toArray(new AlignmentAnnotation[annotation.size()]);
}
-
@Override
public boolean hasAnnotation(AlignmentAnnotation ann)
{
@Override
public boolean hasAnnotation(AlignmentAnnotation ann)
{
@@
-1208,8
+1204,7
@@
public class Sequence extends ASequence implements SequenceI
for (int si = 0; si < sfs.length; si++)
{
SequenceFeature sf[] = (mp != null) ? mp.locateFeature(sfs[si])
for (int si = 0; si < sfs.length; si++)
{
SequenceFeature sf[] = (mp != null) ? mp.locateFeature(sfs[si])
- : new SequenceFeature[]
- { new SequenceFeature(sfs[si]) };
+ : new SequenceFeature[] { new SequenceFeature(sfs[si]) };
if (sf != null && sf.length > 0)
{
for (int sfi = 0; sfi < sf.length; sfi++)
if (sf != null && sf.length > 0)
{
for (int sfi = 0; sfi < sf.length; sfi++)