Author: sergeyhalipov
Date: 2008-01-15 15:55:59 -0500 (Tue, 15 Jan 2008)
New Revision: 5399
Modified:
branches/3.1.x/framework/api/src/main/java/org/richfaces/model/selection/SimpleSelection.java
Log:
http://jira.jboss.com/jira/browse/RF-1756
Modified:
branches/3.1.x/framework/api/src/main/java/org/richfaces/model/selection/SimpleSelection.java
===================================================================
---
branches/3.1.x/framework/api/src/main/java/org/richfaces/model/selection/SimpleSelection.java 2008-01-15
20:52:08 UTC (rev 5398)
+++
branches/3.1.x/framework/api/src/main/java/org/richfaces/model/selection/SimpleSelection.java 2008-01-15
20:55:59 UTC (rev 5399)
@@ -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);