Changeset 1642 for trunk/autoquest-plugin-http
- Timestamp:
- 08/01/14 15:49:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SimpleSOAPEventType.java
r1635 r1642 105 105 } 106 106 else if (obj instanceof SimpleSOAPEventType) { 107 return HTTPUtils.equals(calledMethod, ((SimpleSOAPEventType) obj). getCalledMethod()) &&108 HTTPUtils.equals(serviceName, ((SimpleSOAPEventType) obj). getServiceName());107 return HTTPUtils.equals(calledMethod, ((SimpleSOAPEventType) obj).calledMethod) && 108 HTTPUtils.equals(serviceName, ((SimpleSOAPEventType) obj).serviceName); 109 109 } 110 110 else { … … 120 120 @Override 121 121 public int hashCode() { 122 int hashCode = super.hashCode(); 123 if (calledMethod != null) { 124 hashCode += calledMethod.hashCode(); 125 } 126 if (serviceName != null) { 127 hashCode += serviceName.hashCode(); 128 } 122 int hashCode = calledMethod.hashCode() + serviceName.hashCode(); 129 123 return hashCode; 130 124 } 125 126 /* (non-Javadoc) 127 * @see java.lang.Object#toString() 128 */ 129 @Override 130 public String toString() { 131 return "SimpleSOAPEventType(" + serviceName + ", " + calledMethod + ")"; 132 } 131 133 }
Note: See TracChangeset
for help on using the changeset viewer.