Author: sergeyhalipov
Date: 2008-01-10 08:50:22 -0500 (Thu, 10 Jan 2008)
New Revision: 5262
Modified:
trunk/framework/api/src/main/java/org/richfaces/model/selection/SimpleSelection.java
Log:
http://jira.jboss.com/jira/browse/RF-1756
Modified:
trunk/framework/api/src/main/java/org/richfaces/model/selection/SimpleSelection.java
===================================================================
---
trunk/framework/api/src/main/java/org/richfaces/model/selection/SimpleSelection.java 2008-01-10
13:39:43 UTC (rev 5261)
+++
trunk/framework/api/src/main/java/org/richfaces/model/selection/SimpleSelection.java 2008-01-10
13:50:22 UTC (rev 5262)
@@ -5,6 +5,7 @@
import java.util.HashSet;
import java.util.Iterator;
+import java.util.LinkedHashSet;
import java.util.Set;
/**
@@ -15,7 +16,7 @@
private static final long serialVersionUID = 1L;
- private Set keys = new HashSet();
+ private Set keys = new LinkedHashSet();
public boolean addKey(Object rowKey) {
return keys.add(rowKey);