diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-22 23:21:07 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-22 23:21:17 +0200 |
commit | c633f96374b0a812cdbcedf9c78d98f7b6191eef (patch) | |
tree | 9e9211937efeda0a5f2bf1ea6647693d606a280f /app/src | |
parent | 3357be9557c0a74001a953018e67c2941b01dded (diff) |
FloatingActionsMenuRecyclerViewScrollListener: add final modifiers
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |