Skip to content
This repository was archived by the owner on Apr 8, 2019. It is now read-only.

Commit 8cb14d1

Browse files
committed
GTNPORTAL-3214 FilteredNode impl not serializable
1 parent 648b55f commit 8cb14d1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/main/java/org/gatein/api/common/Filter.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@
2222

2323
package org.gatein.api.common;
2424

25+
import java.io.Serializable;
26+
2527
/**
2628
* A filter to be used to "filter" a collection of elements
2729
*
2830
* @author <a href="mailto:nscavell@redhat.com">Nick Scavelli</a>
2931
*/
30-
public interface Filter<T> {
32+
public interface Filter<T> extends Serializable {
3133
/**
3234
* The accept method used to filter an element
3335
*

src/main/java/org/gatein/api/security/User.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@
2222

2323
package org.gatein.api.security;
2424

25+
import java.io.Serializable;
26+
2527
import org.gatein.api.internal.Parameters;
2628

2729
/**
2830
* Represents a user
2931
*
3032
* @author <a href="mailto:nscavell@redhat.com">Nick Scavelli</a>
3133
*/
32-
public class User {
34+
public class User implements Serializable {
3335
private final String id;
3436

3537
/**

0 commit comments

Comments
 (0)