mirror of https://github.com/apache/openjpa.git
OPENJPA-1690: Make DistinctResultList serializable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953165 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8de998f90b
commit
939f644e77
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
package org.apache.openjpa.kernel;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
|
@ -39,7 +40,7 @@ import org.apache.openjpa.util.RuntimeExceptionTranslator;
|
|||
* @param <E>
|
||||
* element type
|
||||
*/
|
||||
public class DistinctResultList<E> implements List<E> {
|
||||
public class DistinctResultList<E> implements List<E>, Serializable {
|
||||
private final ArrayList<E> _del;
|
||||
private final RuntimeExceptionTranslator _trans;
|
||||
|
||||
|
|
Loading…
Reference in New Issue