Changeset 1635 for trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SOAPEventType.java
- Timestamp:
- 07/31/14 16:44:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SOAPEventType.java
r1622 r1635 47 47 * </p> 48 48 */ 49 transient private SOAPMessage soapRequest;49 transient private final SOAPMessage soapRequest; 50 50 51 51 /** … … 54 54 * </p> 55 55 */ 56 transient private SOAPMessage soapResponse;56 transient private final SOAPMessage soapResponse; 57 57 58 58 /** … … 61 61 * </p> 62 62 */ 63 private String calledMethod;63 private final String calledMethod; 64 64 65 65 /** 66 66 * <p> 67 67 * the name of the service; this is either the path or, if a path map is available 68 */ 69 private String serviceName; 68 * </p> 69 */ 70 private final String serviceName; 70 71 71 72 /** … … 74 75 * </p> 75 76 */ 76 private String name;77 private final String name; 77 78 78 79 /** … … 227 228 return 228 229 super.equals(obj) && 229 HTTPUtils.equals(calledMethod, ((SOAPEventType) obj).calledMethod); 230 HTTPUtils.equals(calledMethod, ((SOAPEventType) obj).calledMethod) && 231 HTTPUtils.equals(serviceName, ((SOAPEventType) obj).serviceName); 230 232 } 231 233 else { … … 239 241 @Override 240 242 public int hashCode() { 243 int hashCode = super.hashCode(); 241 244 if (calledMethod != null) { 242 return super.hashCode() + calledMethod.hashCode(); 243 } 244 else { 245 return super.hashCode(); 246 } 245 hashCode += calledMethod.hashCode(); 246 } 247 if( serviceName != null ) { 248 hashCode += serviceName.hashCode(); 249 } 250 return hashCode; 247 251 } 248 252
Note: See TracChangeset
for help on using the changeset viewer.