Skip to content
Snippets Groups Projects
Commit f6a3836b authored by brinn's avatar brinn
Browse files

LMS-327

change: make Principal extend AbstractHashable in order to be able to compare principals and use them in HashMaps

SVN: 5515
parent 738c9a97
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,8 @@ import java.util.Set; ...@@ -23,6 +23,8 @@ import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringBuilder;
import ch.systemsx.cisd.common.utilities.AbstractHashable;
/** /**
* This class defines in its constructor minimum information that we must know about a * This class defines in its constructor minimum information that we must know about a
* <code>Principal</code>. * <code>Principal</code>.
...@@ -33,7 +35,7 @@ import org.apache.commons.lang.builder.ToStringBuilder; ...@@ -33,7 +35,7 @@ import org.apache.commons.lang.builder.ToStringBuilder;
* *
* @author Christian Ribeaud * @author Christian Ribeaud
*/ */
public class Principal implements Serializable public class Principal extends AbstractHashable implements Serializable
{ {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment