X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FIdentityLoader.java;h=f16df1c5b4d2ebda0cbb574e8ac32128c0640fea;hp=a3b4f6cb7263936ebbf997f89b4e135245ba2ee9;hb=179e7da4d8d8a474d0b622d60b5f5d32d6ab4052;hpb=76ed638264e531a26e35647d13702db865a52321
diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/IdentityLoader.java b/src/main/java/net/pterodactylus/sone/freenet/wot/IdentityLoader.java
index a3b4f6c..f16df1c 100644
--- a/src/main/java/net/pterodactylus/sone/freenet/wot/IdentityLoader.java
+++ b/src/main/java/net/pterodactylus/sone/freenet/wot/IdentityLoader.java
@@ -1,5 +1,5 @@
/*
- * Sone - IdentityLoader.java - Copyright © 2013â2015 David Roden
+ * Sone - IdentityLoader.java - Copyright © 2013â2019 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,8 +33,6 @@ import com.google.inject.Inject;
/**
* Loads {@link OwnIdentity}s and the {@link Identity}s they trust.
- *
- * @author David âBombeâ Roden
*/
public class IdentityLoader {
@@ -57,7 +55,7 @@ public class IdentityLoader {
}
private Map> loadTrustedIdentitiesForOwnIdentities(Collection ownIdentities) throws PluginException {
- Map> currentIdentities = new HashMap>();
+ Map> currentIdentities = new HashMap<>();
for (OwnIdentity ownIdentity : ownIdentities) {
if (identityDoesNotHaveTheCorrectContext(ownIdentity)) {