*/
package net.pterodactylus.arachne.core;
+import de.ina.util.validation.Validation;
+
/**
* Container for a freenet site. A freenet site consists of the routing and
* decryption keys and the basename, without the edition.
* The basename of the site
*/
public Site(String key, String basename) {
+ Validation.begin().isNotNull("key", (Object) key).isNotNull("basename", (Object) basename).check();
this.key = key;
this.basename = basename;
}