summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-core/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-core/src/main/java')
-rw-r--r--ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/sessionmgt/TimeoutVO.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/sessionmgt/TimeoutVO.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/sessionmgt/TimeoutVO.java
index 777f502f..9d7621d6 100644
--- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/sessionmgt/TimeoutVO.java
+++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/domain/sessionmgt/TimeoutVO.java
@@ -37,6 +37,8 @@
*/
package org.onap.portalsdk.core.domain.sessionmgt;
+import org.apache.wicket.util.lang.Objects;
+
public class TimeoutVO implements Comparable<TimeoutVO> {
private String jSessionId;
@@ -81,6 +83,11 @@ public class TimeoutVO implements Comparable<TimeoutVO> {
}
@Override
+ public int hashCode() {
+ return Objects.hashCode(getSessionTimOutMilliSec());
+ }
+
+ @Override
public int compareTo(TimeoutVO o) {
return sessionTimOutMilliSec.compareTo(o.sessionTimOutMilliSec);
}