Author: abelevich
Date: 2007-06-13 11:17:34 -0400 (Wed, 13 Jun 2007)
New Revision: 1156
Modified:
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/SortOrder.java
Log:
Modified: trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/SortOrder.java
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/SortOrder.java 2007-06-13
15:17:14 UTC (rev 1155)
+++
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/SortOrder.java 2007-06-13
15:17:34 UTC (rev 1156)
@@ -14,18 +14,12 @@
private boolean ascending;
private int sortColumn = -1;
-
- private int startRow = -1;
-
- private int dataIndex = -1;
-
- public SortOrder( int sortColumn, int startRow, int dataIndex, boolean ascending) {
+
+ public SortOrder( int sortColumn, boolean ascending) {
super();
this.sortColumn = sortColumn;
this.ascending = ascending;
- this.startRow = startRow;
- this.dataIndex = dataIndex;
}
public SortOrder() {
@@ -64,8 +58,6 @@
if (obj instanceof SortOrder) {
SortOrder sortOrder = (SortOrder) obj;
return sortColumn == sortOrder.sortColumn
- && startRow == sortOrder.startRow
- && dataIndex == sortOrder.dataIndex
&& ascending == sortOrder.ascending;
}