JAL-1934 conditional evaluation structure not needed
authorJim Procter <jprocter@issues.jalview.org>
Mon, 2 Nov 2015 15:01:06 +0000 (15:01 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 2 Nov 2015 15:01:06 +0000 (15:01 +0000)
src/jalview/util/Comparison.java

index 95f298b..5c26e2d 100644 (file)
@@ -245,7 +245,7 @@ public class Comparison
    */
   public static final boolean isGap(char c)
   {
-    return (c == GAP_DASH || c == GAP_DOT || c == GAP_SPACE) ? true : false;
+    return (c == GAP_DASH || c == GAP_DOT || c == GAP_SPACE);
   }
 
   /**