git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5165676
)
JAL-2505 unreachable code (for many years) removed
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 16 May 2017 15:47:40 +0000
(16:47 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 16 May 2017 15:47:40 +0000
(16:47 +0100)
src/jalview/datamodel/Mapping.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Mapping.java
b/src/jalview/datamodel/Mapping.java
index
4dea30c
..
5a4689d
100644
(file)
--- a/
src/jalview/datamodel/Mapping.java
+++ b/
src/jalview/datamodel/Mapping.java
@@
-540,27
+540,7
@@
public class Mapping
return vf;
}
}
- if (false) // else
- {
- int[] word = getWord(f.getBegin());
- if (word[0] < word[1])
- {
- f.setBegin(word[0]);
- }
- else
- {
- f.setBegin(word[1]);
- }
- word = getWord(f.getEnd());
- if (word[0] > word[1])
- {
- f.setEnd(word[0]);
- }
- else
- {
- f.setEnd(word[1]);
- }
- }
+
// give up and just return the feature.
return new SequenceFeature[] { f };
}