diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2014-01-11 16:32:58 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2014-01-11 16:32:58 +0100 |
| commit | 6a8244166bf3a3eef35024df9e0818e88e80513f (patch) | |
| tree | 505e5cc690851132fc159def40232a0dbfeca792 /main/src/cgeo/geocaching/settings | |
| parent | ad7fe062fcdf95e253c95f4cd8fa2c19e3c9cc7b (diff) | |
| download | cgeo-6a8244166bf3a3eef35024df9e0818e88e80513f.zip cgeo-6a8244166bf3a3eef35024df9e0818e88e80513f.tar.gz cgeo-6a8244166bf3a3eef35024df9e0818e88e80513f.tar.bz2 | |
revert some nonnull annotations
Eclipse requires that the super implementation of overridden methods
with nonnull arguments also declares the arguments nonnull and stops
compilation otherwise. Seems there is no option to change that.
Diffstat (limited to 'main/src/cgeo/geocaching/settings')
| -rw-r--r-- | main/src/cgeo/geocaching/settings/TemplateTextPreference.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/settings/TemplateTextPreference.java b/main/src/cgeo/geocaching/settings/TemplateTextPreference.java index a977ddb..a703231 100644 --- a/main/src/cgeo/geocaching/settings/TemplateTextPreference.java +++ b/main/src/cgeo/geocaching/settings/TemplateTextPreference.java @@ -6,7 +6,6 @@ import cgeo.geocaching.utils.LogTemplateProvider; import cgeo.geocaching.utils.LogTemplateProvider.LogTemplate; import org.apache.commons.lang3.StringUtils; -import org.eclipse.jdt.annotation.NonNull; import android.app.AlertDialog; import android.content.Context; @@ -45,7 +44,7 @@ public class TemplateTextPreference extends DialogPreference { } @Override - protected void onBindDialogView(@NonNull View view) { + protected void onBindDialogView(View view) { settingsActivity = (SettingsActivity) this.getContext(); editText = (EditText) view.findViewById(R.id.signature_dialog_text); |
