Remove unused method.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 7 Jul 2014 18:31:12 +0000 (20:31 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 7 Jul 2014 18:31:12 +0000 (20:31 +0200)
src/main/java/net/pterodactylus/sone/core/Options.java

index c8e3589..d23926d 100644 (file)
@@ -40,13 +40,6 @@ public class Options {
        public static interface Option<T> {
 
                /**
-                * 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;
                }