Move Fetched class to top-level
[Sone.git] / src / main / java / net / pterodactylus / sone / core / UpdateChecker.java
index 2fba40b..ce438e5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - UpdateChecker.java - Copyright © 2011–2015 David Roden
+ * Sone - UpdateChecker.java - Copyright © 2011–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
@@ -30,7 +30,6 @@ import java.util.logging.Logger;
 
 import javax.inject.Singleton;
 
-import net.pterodactylus.sone.core.FreenetInterface.Fetched;
 import net.pterodactylus.sone.core.event.UpdateFoundEvent;
 import net.pterodactylus.sone.main.SonePlugin;
 import net.pterodactylus.util.io.Closer;
@@ -63,7 +62,7 @@ public class UpdateChecker {
        private FreenetURI currentUri;
 
        /** The latest known edition. */
-       private long latestEdition;
+       private long latestEdition = SonePlugin.getLatestEdition();
 
        /** The current latest known version. */
        private Version currentLatestVersion;