X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsonitus%2Fdata%2Fcontroller%2FAbstractController.java;h=d81086cd7e028b90865a31830e46261530d6647b;hb=193b778fc4858c36628cd28f775df6c7b26cfed4;hp=b355a895def54d446e00b2471b3debcfc50a6bf1;hpb=d39c62bb0271412aaa9445b2ba7596b0fabb394a;p=sonitus.git diff --git a/src/main/java/net/pterodactylus/sonitus/data/controller/AbstractController.java b/src/main/java/net/pterodactylus/sonitus/data/controller/AbstractController.java index b355a89..d81086c 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/controller/AbstractController.java +++ b/src/main/java/net/pterodactylus/sonitus/data/controller/AbstractController.java @@ -113,10 +113,14 @@ public abstract class AbstractController> implements Con * Adjusts the controller. This method is called from {@link * #value(Comparable)} if the new value is different from the current value. * Also, the value is clamped to fit within the range of this controller. + *

+ * This implementation does nothing. * * @param value * The new value */ - protected abstract void valueSet(V value); + protected void valueSet(V value) { + /* do nothing. */ + } }