From: David ‘Bombe’ Roden Date: Mon, 7 Jul 2014 18:31:12 +0000 (+0200) Subject: Remove unused method. X-Git-Tag: 0.9-rc1^2~3^2~215 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=384d9d8377224aa2683b80322b84c65ad335c92b Remove unused method. --- 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; }