🎨 Add annotation from overridden method
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 30 Jul 2019 18:06:14 +0000 (20:06 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 30 Jul 2019 18:07:18 +0000 (20:07 +0200)
src/main/java/net/pterodactylus/sone/database/memory/MemoryPostBuilder.java

index 6b1678f..dfe887b 100644 (file)
@@ -18,6 +18,7 @@
 package net.pterodactylus.sone.database.memory;
 
 import java.util.*;
+import javax.annotation.*;
 
 import net.pterodactylus.sone.data.*;
 import net.pterodactylus.sone.data.impl.*;
@@ -35,6 +36,7 @@ class MemoryPostBuilder extends AbstractPostBuilder {
                database = memoryDatabase;
        }
 
+       @Nonnull
        @Override
        public Post build() throws IllegalStateException {
                validate();