Suppress some warnings about variables hiding other variables.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / Options.java
index 7392da2..6a945b9 100644 (file)
@@ -193,7 +193,8 @@ public class Options {
                /**
                 * {@inheritDoc}
                 */
-               public boolean validate(T value) {
+               @Override
+               public boolean validate(@SuppressWarnings("hiding") T value) {
                        return (validator == null) || (value == null) || validator.validate(value);
                }