From: David ‘Bombe’ Roden Date: Mon, 20 Jul 2015 04:48:42 +0000 (+0200) Subject: Use absent optional instead of null X-Git-Tag: 0.9.3^2~16^2~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9a56935e7de7511690c970d88a7ff3e392da3d6a;p=Sone.git Use absent optional instead of null --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java index 9ac5dd4..6f5ef85 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -126,7 +126,7 @@ public class WebOfTrustConnector { * if an error occured talking to the Web of Trust plugin */ public Set loadTrustedIdentities(OwnIdentity ownIdentity) throws PluginException { - return loadTrustedIdentities(ownIdentity, null); + return loadTrustedIdentities(ownIdentity, Optional.absent()); } /**