Fixes issue #1459; HTMLTable.isCellPresent() was using the wrong operator in a test expression.

Suggested by: creswick
Patch by: morrildl
Review by: me


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1275 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/HTMLTable.java b/user/src/com/google/gwt/user/client/ui/HTMLTable.java
index 5c77a12..2662d3b 100644
--- a/user/src/com/google/gwt/user/client/ui/HTMLTable.java
+++ b/user/src/com/google/gwt/user/client/ui/HTMLTable.java
@@ -840,7 +840,7 @@
    * @return <code>true</code> if the specified cell exists
    */
   public boolean isCellPresent(int row, int column) {
-    if ((row >= getRowCount()) && (row < 0)) {
+    if ((row >= getRowCount()) || (row < 0)) {
       return false;
     }
     if ((column < 0) || (column >= getCellCount(row))) {