Performance tweaks
[fanfix.git] / src / jexer / bits / Cell.java
index d4d78ba3ab25b4446eaed222796a055e7fd82a94..957ac7656f8c5e2fb34324ef792b5d97e943c42b 100644 (file)
@@ -101,8 +101,11 @@ public final class Cell extends CellAttributes {
         }
 
         Cell that = (Cell) rhs;
-        return (super.equals(rhs)
-            && (ch == that.ch));
+
+        if (ch == that.ch) {
+            return super.equals(rhs);
+        }
+        return false;
     }
 
     /**