From c633f96374b0a812cdbcedf9c78d98f7b6191eef Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 22 Jul 2018 23:21:07 +0200 Subject: FloatingActionsMenuRecyclerViewScrollListener: add final modifiers Signed-off-by: Jason A. Donenfeld --- .../widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/com/wireguard') 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)); } -- cgit v1.2.3