Stop job broken (stop All works) because Timestamp!=Date. Fixed in ScheduledJobIdentifier.equals() and unit test.

This commit is contained in:
dsyer
2007-10-14 12:48:55 +00:00
parent b9c291328f
commit 30302f3d1f
3 changed files with 29 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ public class ScheduledJobIdentifier extends SimpleJobIdentifier implements JobId
* stream, run, and schedule date.
*/
public boolean equals(Object other) {
return EqualsBuilder.reflectionEquals(this, other);
return EqualsBuilder.reflectionEquals(this, other) || EqualsBuilder.reflectionEquals(other, this);
}
public int hashCode() {