*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
-public class AbstractDownloadEvent {
+public abstract class AbstractDownloadEvent {
/** The download this event is about. */
protected final Download download;
* @param download
* The download the event is about
*/
- public AbstractDownloadEvent(Download download) {
+ protected AbstractDownloadEvent(Download download) {
this.download = download;
}
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
-public abstract class DownloadStarted extends AbstractDownloadEvent {
+public class DownloadStarted extends AbstractDownloadEvent {
/**
* Creates a new download started event.
* @param download
* The download that started
*/
- protected DownloadStarted(Download download) {
+ public DownloadStarted(Download download) {
super(download);
}