summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/android
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-22 23:21:07 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-22 23:21:17 +0200
commitc633f96374b0a812cdbcedf9c78d98f7b6191eef (patch)
tree9e9211937efeda0a5f2bf1ea6647693d606a280f /app/src/main/java/com/wireguard/android
parent3357be9557c0a74001a953018e67c2941b01dded (diff)
FloatingActionsMenuRecyclerViewScrollListener: add final modifiers
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/android')
-rw-r--r--app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenuRecyclerViewScrollListener.java2
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));
}