From: David ‘Bombe’ Roden Date: Wed, 26 Nov 2014 18:38:49 +0000 (+0100) Subject: Clean up event. X-Git-Tag: 0.9-rc1^2~3^2~7 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=501893782e9dbe29b50019939cdefb8d803d1348 Clean up event. --- diff --git a/src/main/java/net/pterodactylus/sone/core/event/SoneInsertedEvent.java b/src/main/java/net/pterodactylus/sone/core/event/SoneInsertedEvent.java index 8a4280d..a3d9329 100644 --- a/src/main/java/net/pterodactylus/sone/core/event/SoneInsertedEvent.java +++ b/src/main/java/net/pterodactylus/sone/core/event/SoneInsertedEvent.java @@ -26,31 +26,13 @@ import net.pterodactylus.sone.data.Sone; */ public class SoneInsertedEvent extends SoneEvent { - /** The duration of the insert. */ private final long insertDuration; - /** - * Creates a new “Sone was inserted” event. - * - * @param sone - * The Sone that was inserted - * @param insertDuration - * The duration of the insert (in milliseconds) - */ public SoneInsertedEvent(Sone sone, long insertDuration) { super(sone); this.insertDuration = insertDuration; } - // - // ACCESSORS - // - - /** - * Returns the duration of the insert. - * - * @return The duration of the insert (in milliseconds) - */ public long insertDuration() { return insertDuration; }