X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FOptions.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FOptions.java;h=d23926d5473863e1f9fe2abbd893c069c639c4b6;hp=c8e3589d497e686f8d59ecb84536baf8680c9f7d;hb=384d9d8377224aa2683b80322b84c65ad335c92b;hpb=909ee198273c541c42b411bd4f169aee939e5ca4 diff --git a/src/main/java/net/pterodactylus/sone/core/Options.java b/src/main/java/net/pterodactylus/sone/core/Options.java index c8e3589..d23926d 100644 --- a/src/main/java/net/pterodactylus/sone/core/Options.java +++ b/src/main/java/net/pterodactylus/sone/core/Options.java @@ -40,13 +40,6 @@ public class Options { public static interface Option { /** - * Returns the default value of the option. - * - * @return The default value of the option - */ - public T getDefault(); - - /** * Returns the current value of the option. If the current value is not * set (usually {@code null}), the default value is returned. * @@ -185,14 +178,6 @@ public class Options { * {@inheritDoc} */ @Override - public T getDefault() { - return defaultValue; - } - - /** - * {@inheritDoc} - */ - @Override public T get() { return (value != null) ? value : defaultValue; }