Remove @author tags
[Sone.git] / src / main / java / net / pterodactylus / sone / core / event / SoneInsertedEvent.java
index 8a4280d..3f606ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - SoneInsertedEvent.java - Copyright © 2013 David Roden
+ * Sone - SoneInsertedEvent.java - Copyright © 2013–2016 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,38 +21,24 @@ import net.pterodactylus.sone.data.Sone;
 
 /**
  * Event that signals that a {@link Sone} was inserted.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public class SoneInsertedEvent extends SoneEvent {
 
-       /** The duration of the insert. */
        private final long insertDuration;
+       private final String insertFingerprint;
 
-       /**
-        * 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) {
+       public SoneInsertedEvent(Sone sone, long insertDuration, String insertFingerprint) {
                super(sone);
                this.insertDuration = insertDuration;
+               this.insertFingerprint = insertFingerprint;
        }
 
-       //
-       // ACCESSORS
-       //
-
-       /**
-        * Returns the duration of the insert.
-        *
-        * @return The duration of the insert (in milliseconds)
-        */
        public long insertDuration() {
                return insertDuration;
        }
 
+       public String insertFingerprint() {
+               return insertFingerprint;
+       }
+
 }