aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/.settings/org.eclipse.jdt.core.prefs2
-rw-r--r--main/src/cgeo/geocaching/ImageSelectActivity.java1
-rw-r--r--main/src/cgeo/geocaching/utils/CryptUtils.java1
-rw-r--r--main/src/cgeo/geocaching/utils/LeastRecentlyUsedSet.java1
4 files changed, 1 insertions, 4 deletions
diff --git a/main/.settings/org.eclipse.jdt.core.prefs b/main/.settings/org.eclipse.jdt.core.prefs
index 2fc1133..7c290d9 100644
--- a/main/.settings/org.eclipse.jdt.core.prefs
+++ b/main/.settings/org.eclipse.jdt.core.prefs
@@ -66,7 +66,7 @@ org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
org.eclipse.jdt.core.compiler.problem.nullReference=error
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
-org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=ignore
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
diff --git a/main/src/cgeo/geocaching/ImageSelectActivity.java b/main/src/cgeo/geocaching/ImageSelectActivity.java
index 766149c..b5fb38e 100644
--- a/main/src/cgeo/geocaching/ImageSelectActivity.java
+++ b/main/src/cgeo/geocaching/ImageSelectActivity.java
@@ -314,7 +314,6 @@ public class ImageSelectActivity extends AbstractActivity {
return;
}
- @SuppressWarnings("null")
final Bitmap bitmap = ImageUtils.readAndScaleImageToFitDisplay(imageUri.getPath());
imagePreview.setImageBitmap(bitmap);
imagePreview.setVisibility(View.VISIBLE);
diff --git a/main/src/cgeo/geocaching/utils/CryptUtils.java b/main/src/cgeo/geocaching/utils/CryptUtils.java
index 80d841f..815c2f4 100644
--- a/main/src/cgeo/geocaching/utils/CryptUtils.java
+++ b/main/src/cgeo/geocaching/utils/CryptUtils.java
@@ -67,7 +67,6 @@ public final class CryptUtils {
}
}
- @SuppressWarnings("null")
@NonNull
public static String rot13(String text) {
if (text == null) {
diff --git a/main/src/cgeo/geocaching/utils/LeastRecentlyUsedSet.java b/main/src/cgeo/geocaching/utils/LeastRecentlyUsedSet.java
index 0c83076..259e94a 100644
--- a/main/src/cgeo/geocaching/utils/LeastRecentlyUsedSet.java
+++ b/main/src/cgeo/geocaching/utils/LeastRecentlyUsedSet.java
@@ -44,7 +44,6 @@ public class LeastRecentlyUsedSet<E> extends AbstractSet<E>
*
* @see HashSet
*/
- @SuppressWarnings("null")
@NonNull
@Override
public Iterator<E> iterator() {