JAL-2505 unreachable code (for many years) removed
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 16 May 2017 15:47:40 +0000 (16:47 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 16 May 2017 15:47:40 +0000 (16:47 +0100)
src/jalview/datamodel/Mapping.java

index 4dea30c..5a4689d 100644 (file)
@@ -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 };
   }