[Mc4j-cvs] SF.net SVN: mc4j:[616] trunk/mc4j/modules/ems/src/ems/org/mc4j/ems/ connection/settings
Brought to you by:
ghinkl
From: <ian...@us...> - 2010-02-05 13:31:03
|
Revision: 616 http://mc4j.svn.sourceforge.net/mc4j/?rev=616&view=rev Author: ianpspringer Date: 2010-02-05 13:30:54 +0000 (Fri, 05 Feb 2010) Log Message: ----------- test commit Modified Paths: -------------- trunk/mc4j/modules/ems/src/ems/org/mc4j/ems/connection/settings/ConnectionSettings.java Modified: trunk/mc4j/modules/ems/src/ems/org/mc4j/ems/connection/settings/ConnectionSettings.java =================================================================== --- trunk/mc4j/modules/ems/src/ems/org/mc4j/ems/connection/settings/ConnectionSettings.java 2010-02-05 13:28:39 UTC (rev 615) +++ trunk/mc4j/modules/ems/src/ems/org/mc4j/ems/connection/settings/ConnectionSettings.java 2010-02-05 13:30:54 UTC (rev 616) @@ -34,7 +34,6 @@ */ public class ConnectionSettings implements Serializable, Comparable { - private ConnectionTypeDescriptor connectionType; private String connectionName; @@ -95,6 +94,11 @@ return result; } + public int hashCode() { + int result = this.connectionName.hashCode(); + result = 31 * result + this.serverUrl.hashCode(); + return result; + } /** * Getter for property connectionType. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |