package net.pterodactylus.sone.freenet.wot;
+import static com.google.common.base.Preconditions.checkNotNull;
+
/**
* An own identity is an identity that the owner of the node has full control
* over.
*/
public DefaultOwnIdentity(String id, String nickname, String requestUri, String insertUri) {
super(id, nickname, requestUri);
- this.insertUri = insertUri;
+ this.insertUri = checkNotNull(insertUri);
}
//