diff --git a/CHANGELOG.md b/CHANGELOG.md index 4888429841..7908cfbc6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * All JSON methods on Realm now only wraps JSONException in RealmException. All other Exceptions are thrown as they are. * Removed `HandlerController` from the public API. * Marked all methods on `RealmObject` and all public classes final (#1594). +* Removed constructor of `RealmAsyncTask` from the public API8 (#1594). ### Deprecated diff --git a/realm/realm-library/src/main/java/io/realm/RealmAsyncTask.java b/realm/realm-library/src/main/java/io/realm/RealmAsyncTask.java index d7e28dcb1c..3f6492f453 100644 --- a/realm/realm-library/src/main/java/io/realm/RealmAsyncTask.java +++ b/realm/realm-library/src/main/java/io/realm/RealmAsyncTask.java @@ -29,7 +29,7 @@ public final class RealmAsyncTask { private final Future pendingQuery; private volatile boolean isCancelled = false; - public RealmAsyncTask(Future pendingQuery) { + RealmAsyncTask(Future pendingQuery) { this.pendingQuery = pendingQuery; }