diff --git a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java index 63f9d59c..fa3723ac 100644 --- a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java +++ b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java @@ -15,7 +15,7 @@ public class FloatingActionsMenuRecyclerViewScrollListener extends RecyclerView. this.menu = menu; } - private static float bound(float min, float proposal, float max) { + private static float bound(final float min, final float proposal, final float max) { return Math.min(max, Math.max(min, proposal)); }