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:
1b6c18d
)
JAL-2451 remove unused flag
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 21 Jun 2017 11:29:47 +0000
(12:29 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 21 Jun 2017 11:29:47 +0000
(12:29 +0100)
src/jalview/commands/EditCommand.java
patch
|
blob
|
history
diff --git
a/src/jalview/commands/EditCommand.java
b/src/jalview/commands/EditCommand.java
index
84335c7
..
a92dca7
100644
(file)
--- a/
src/jalview/commands/EditCommand.java
+++ b/
src/jalview/commands/EditCommand.java
@@
-1436,7
+1436,6
@@
public class EditCommand implements CommandI
int newBegin = sfBegin;
int newEnd = sfEnd;
boolean toDelete = false;
- boolean follows = false;
if (sfBegin >= cutStartPos && sfEnd <= cutEndPos)
{
@@
-1479,19
+1478,13
@@
public class EditCommand implements CommandI
}
seq.deleteFeature(sf);
- if (!follows)
- {
- removed.add(sf);
- }
+ removed.add(sf);
if (!toDelete)
{
SequenceFeature copy = new SequenceFeature(sf, newBegin, newEnd,
sf.getFeatureGroup(), sf.getScore());
seq.addSequenceFeature(copy);
- if (!follows)
- {
- added.add(copy);
- }
+ added.add(copy);
}
}