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