From: David ‘Bombe’ Roden Date: Tue, 30 Jul 2019 18:05:33 +0000 (+0200) Subject: 🎨 Remove unnecessary comments, clean up imports X-Git-Tag: v81^2~154 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=fc42bd94768b006e81475a3c19562acba37b91bc;p=Sone.git 🎨 Remove unnecessary comments, clean up imports --- diff --git a/src/main/java/net/pterodactylus/sone/database/memory/MemoryPostBuilder.java b/src/main/java/net/pterodactylus/sone/database/memory/MemoryPostBuilder.java index 3c4b16a..6b1678f 100644 --- a/src/main/java/net/pterodactylus/sone/database/memory/MemoryPostBuilder.java +++ b/src/main/java/net/pterodactylus/sone/database/memory/MemoryPostBuilder.java @@ -17,37 +17,24 @@ package net.pterodactylus.sone.database.memory; -import java.util.UUID; +import java.util.*; -import net.pterodactylus.sone.data.Post; -import net.pterodactylus.sone.data.impl.AbstractPostBuilder; -import net.pterodactylus.sone.database.PostBuilder; -import net.pterodactylus.sone.database.SoneProvider; +import net.pterodactylus.sone.data.*; +import net.pterodactylus.sone.data.impl.*; +import net.pterodactylus.sone.database.*; /** * {@link PostBuilder} implementation that creates a {@link MemoryPost}. */ class MemoryPostBuilder extends AbstractPostBuilder { - /** The database. */ private final MemoryDatabase database; - /** - * Creates a new memory post builder. - * - * @param memoryDatabase - * The database - * @param soneProvider - * The Sone provider - */ public MemoryPostBuilder(MemoryDatabase memoryDatabase, SoneProvider soneProvider) { super(soneProvider); database = memoryDatabase; } - /** - * {@inheritDocs} - */ @Override public Post build() throws IllegalStateException { validate();