| commit | aa50146c2740c0e588af26cb333ddc7f82b72846 | [log] [tgz] |
|---|---|---|
| author | gwt.team.scottb <gwt.team.scottb@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Fri Jul 27 23:02:43 2007 +0000 |
| committer | gwt.team.scottb <gwt.team.scottb@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Fri Jul 27 23:02:43 2007 +0000 |
| tree | b7a190d754a8b0d548e44265c28f8ae28a015d55 | |
| parent | 40abf43b7d275e7b9e24ff0e259067ff5b974498 [diff] |
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))) {