litesoft
Diff Revisions
49
vs
151
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/TwoDimensionalChildHelper.java
|
@@ -18,8 +18,7 @@ |
18 |
18 |
|
UtilsCommon.assertNotNull( "TBODY", mTBody = pTBody ); |
19 |
19 |
|
if ( (mColsPerRow = pColsPerRow) < 1 ) |
20 |
20 |
|
{ |
21 |
|
- |
throw new IllegalArgumentException( |
22 |
|
- |
"Must have at least 1 column, but was given: " + pColsPerRow ); |
|
21 |
+ |
throw new IllegalArgumentException( "Must have at least 1 column, but was given: " + pColsPerRow ); |
23 |
22 |
|
} |
24 |
23 |
|
} |
25 |
24 |
|
|
|
@@ -106,8 +105,7 @@ |
106 |
105 |
|
private boolean coverageIncludes( int pRow, int pCol ) |
107 |
106 |
|
{ |
108 |
107 |
|
int zRowIndex = mRow.getIndex(); |
109 |
|
- |
return (zRowIndex <= pRow) && (pRow <= (zRowIndex + mAdditionalDownCells)) && (mIndex <= pCol) && |
110 |
|
- |
(pCol <= (mIndex + mAdditionalRightCells)); |
|
108 |
+ |
return (zRowIndex <= pRow) && (pRow <= (zRowIndex + mAdditionalDownCells)) && (mIndex <= pCol) && (pCol <= (mIndex + mAdditionalRightCells)); |
111 |
109 |
|
} |
112 |
110 |
|
} |
113 |
111 |
|
|