summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-07-19 06:54:10 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-07-19 12:55:54 +0200
commitaa7605571c62ed333af79aa7414277b6e6d50d39 (patch)
treee5c2223f1f176cb83ab45c6f24e5def06e2af450 /android
parent55a62bbfc2f39d673fc802840e4121355dcf1469 (diff)
android: Make constant static
Makes this warning/suggestion disappear in Android Studio: > Field can be converted to a local variable Change-Id: I710cd83c19fe1f83b756b035f05560974b349d22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170709 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android')
-rw-r--r--android/source/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/source/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java b/android/source/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java
index 68b445af6f9f..05c0dfac4dcf 100644
--- a/android/source/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java
+++ b/android/source/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java
@@ -23,7 +23,7 @@ public class GraphicSelectionHandle extends CommonCanvasElement {
/**
* The factor used to inflate the hit area.
*/
- private final float HIT_AREA_INFLATE_FACTOR = 1.75f;
+ private static final float HIT_AREA_INFLATE_FACTOR = 1.75f;
private final HandlePosition mHandlePosition;
public PointF mPosition = new PointF();
@@ -143,4 +143,4 @@ public class GraphicSelectionHandle extends CommonCanvasElement {
}
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */