From fc42bd94768b006e81475a3c19562acba37b91bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 30 Jul 2019 20:05:33 +0200 Subject: [PATCH] =?utf8?q?=F0=9F=8E=A8=20Remove=20unnecessary=20comments,?= =?utf8?q?=20clean=20up=20imports?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../sone/database/memory/MemoryPostBuilder.java | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) 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(); -- 2.7.4