Revision: 15678
Author: emmartins
Date: Wed Dec  8 06:30:37 2010
Log: misc fix
http://code.google.com/p/mobicents/source/detail?r=15678

Modified:
/trunk/servers/jain-slee/core/profiles/src/main/java/org/mobicents/slee/container/profile/ProfileLocalObjectImpl.java

=======================================
--- /trunk/servers/jain-slee/core/profiles/src/main/java/org/mobicents/slee/container/profile/ProfileLocalObjectImpl.java Mon Apr 26 08:37:10 2010 +++ /trunk/servers/jain-slee/core/profiles/src/main/java/org/mobicents/slee/container/profile/ProfileLocalObjectImpl.java Wed Dec 8 06:30:37 2010
@@ -97,7 +97,12 @@

                return this._equals(other);
        }
-
+
+       @Override
+       public int hashCode() {
+ return getProfileTable().hashCode() * 31 + ((profileName == null) ? 0 : profileName.hashCode());
+       }
+
        @Override
        public boolean equals(Object obj) {
                if (obj instanceof ProfileLocalObjectImpl) {

Reply via email to