From 384d9d8377224aa2683b80322b84c65ad335c92b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 7 Jul 2014 20:31:12 +0200 Subject: [PATCH] Remove unused method. --- src/main/java/net/pterodactylus/sone/core/Options.java | 15 --------------- 1 file changed, 15 deletions(-) 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; } -- 2.7.4