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

index 99d7d32..472a3eb 100644 (file)
 package net.pterodactylus.sone.database.memory;
 
 import java.util.*;
+import javax.annotation.*;
 
 import net.pterodactylus.sone.data.*;
 import net.pterodactylus.sone.data.impl.*;
 import net.pterodactylus.sone.database.*;
-import org.jetbrains.annotations.*;
 
 /**
  * {@link PostReplyBuilder} implementation that creates {@link MemoryPostReply}
@@ -38,6 +38,7 @@ class MemoryPostReplyBuilder extends AbstractPostReplyBuilder {
                this.soneProvider = soneProvider;
        }
 
+       @Nonnull
        @Override
        public PostReply build() throws IllegalStateException {
                validate();