aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/utils/EditUtils.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2015-03-17 08:37:59 +0100
committerSamuel Tardieu <sam@rfc1149.net>2015-03-17 08:41:06 +0100
commitb2ffc2581c6630e313c4e623d0a40c8846e1e975 (patch)
tree6859e456fdb42e6468558883761c1de40b458c80 /main/src/cgeo/geocaching/utils/EditUtils.java
parent9119639276a00ef17d3ffa1a5fad0c37c1bebd78 (diff)
downloadcgeo-b2ffc2581c6630e313c4e623d0a40c8846e1e975.zip
cgeo-b2ffc2581c6630e313c4e623d0a40c8846e1e975.tar.gz
cgeo-b2ffc2581c6630e313c4e623d0a40c8846e1e975.tar.bz2
Add missing final qualifiers in main module
Diffstat (limited to 'main/src/cgeo/geocaching/utils/EditUtils.java')
-rw-r--r--main/src/cgeo/geocaching/utils/EditUtils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/utils/EditUtils.java b/main/src/cgeo/geocaching/utils/EditUtils.java
index 0bfe2ea..455ce4d 100644
--- a/main/src/cgeo/geocaching/utils/EditUtils.java
+++ b/main/src/cgeo/geocaching/utils/EditUtils.java
@@ -17,7 +17,7 @@ public final class EditUtils {
editText.setOnEditorActionListener(new TextView.OnEditorActionListener() {
@Override
- public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
+ public boolean onEditorAction(final TextView v, final int actionId, final KeyEvent event) {
if (actionId == EditorInfo.IME_ACTION_GO) {
runnable.run();
return true;
@@ -30,7 +30,7 @@ public final class EditUtils {
editText.setOnKeyListener(new View.OnKeyListener() {
@Override
- public boolean onKey(View v, int keyCode, KeyEvent event) {
+ public boolean onKey(final View v, final int keyCode, final KeyEvent event) {
// If the event is a key-down event on the "enter" button
if ((event.getAction() == KeyEvent.ACTION_DOWN) && (keyCode == KeyEvent.KEYCODE_ENTER)) {
runnable.run();
@@ -42,7 +42,7 @@ public final class EditUtils {
}
- public static void disableSuggestions(EditText edit) {
+ public static void disableSuggestions(final EditText edit) {
edit.setInputType(edit.getInputType()
| InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS
| InputType.TYPE_TEXT_VARIATION_FILTER);