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 | f56146648b54ac1fbaa5cd5ed4cddfbd2138f7aa (patch) | |
tree | 9e9211937efeda0a5f2bf1ea6647693d606a280f /app | |
parent | 5f0b5f20ceff269729dc635e406f62aeae20b133 (diff) |
FloatingActionsMenuRecyclerViewScrollListener: add final modifiers
Diffstat (limited to 'app')
-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)); } |