From: David ‘Bombe’ Roden Date: Wed, 12 Sep 2012 05:45:48 +0000 (+0200) Subject: Fix using the wrong base type. X-Git-Tag: 0.8.3^2~39^2~8 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8993ea0dde792409ad28708b21e41d7a50ae28da;p=Sone.git Fix using the wrong base type. --- diff --git a/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java b/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java index cb73297..56716d6 100644 --- a/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java +++ b/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java @@ -684,8 +684,8 @@ public class WebOfTrustUpdater extends AbstractService { if ((object == null) || !object.getClass().equals(getClass())) { return false; } - WebOfTrustContextUpdateJob updateJob = (WebOfTrustContextUpdateJob) object; - return updateJob.ownIdentity.equals(ownIdentity) && updateJob.context.equals(propertyName); + WebOfTrustPropertyUpdateJob updateJob = (WebOfTrustPropertyUpdateJob) object; + return updateJob.ownIdentity.equals(ownIdentity) && updateJob.propertyName.equals(propertyName); } /**