♻️ Use set for an identity’s contexts
[Sone.git] / src / main / java / net / pterodactylus / sone / freenet / wot / Identity.java
index b4ca58c..3460516 100644 (file)
@@ -83,7 +83,7 @@ public interface Identity {
         * @param contexts
         *            All contexts of the identity
         */
-       public void setContexts(Collection<String> contexts);
+       public void setContexts(Set<String> contexts);
 
        /**
         * Removes the given context from this identity.