aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/utils/SimpleCancellableHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/utils/SimpleCancellableHandler.java')
-rw-r--r--main/src/cgeo/geocaching/utils/SimpleCancellableHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/utils/SimpleCancellableHandler.java b/main/src/cgeo/geocaching/utils/SimpleCancellableHandler.java
index 22cd4d7..eee71ba 100644
--- a/main/src/cgeo/geocaching/utils/SimpleCancellableHandler.java
+++ b/main/src/cgeo/geocaching/utils/SimpleCancellableHandler.java
@@ -15,8 +15,8 @@ public class SimpleCancellableHandler extends CancellableHandler {
protected final WeakReference<Progress> progressDialogRef;
public SimpleCancellableHandler(final AbstractActivity activity, final Progress progress) {
- this.activityRef = new WeakReference<AbstractActivity>(activity);
- this.progressDialogRef = new WeakReference<Progress>(progress);
+ this.activityRef = new WeakReference<>(activity);
+ this.progressDialogRef = new WeakReference<>(progress);
}
@Override