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:
d6810f1
)
JAL-1934 conditional evaluation structure not needed
author
Jim Procter
<jprocter@issues.jalview.org>
Mon, 2 Nov 2015 15:01:06 +0000
(15:01 +0000)
committer
Jim Procter
<jprocter@issues.jalview.org>
Mon, 2 Nov 2015 15:01:06 +0000
(15:01 +0000)
src/jalview/util/Comparison.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/Comparison.java
b/src/jalview/util/Comparison.java
index
95f298b
..
5c26e2d
100644
(file)
--- a/
src/jalview/util/Comparison.java
+++ b/
src/jalview/util/Comparison.java
@@
-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);
}
/**