Declare returned Core to always be non-null
[Sone.git] / src / main / java / net / pterodactylus / sone / web / WebInterface.java
index 49f1158..6401b43 100644 (file)
@@ -410,6 +410,7 @@ public class WebInterface implements SessionProvider {
         *
         * @return The Sone core
         */
+       @Nonnull
        public Core getCore() {
                return sonePlugin.core();
        }