Bug 1308337 - Pre: clean up wrong annotation r=nalexander draft
authorGrigory Kruglov <gkruglov@mozilla.com>
Tue, 11 Apr 2017 22:22:28 -0400
changeset 588420 a16933121371818307329523916d35e82b2446c9
parent 588345 87c745019518b1d6cd782534f2553721e5735657
child 588421 d7424fec748b9a2d07d1c98b78ce89fd418750e4
push id62031
push userbmo:gkruglov@mozilla.com
push dateFri, 02 Jun 2017 19:52:26 +0000
reviewersnalexander
bugs1308337
milestone55.0a1
Bug 1308337 - Pre: clean up wrong annotation r=nalexander It's not just used for testing, and annotation is causing IDE to highlight its uses in code as invalid. MozReview-Commit-ID: JvzX2VgNKom
mobile/android/services/src/main/java/org/mozilla/gecko/sync/synchronizer/RecordsChannel.java
--- a/mobile/android/services/src/main/java/org/mozilla/gecko/sync/synchronizer/RecordsChannel.java
+++ b/mobile/android/services/src/main/java/org/mozilla/gecko/sync/synchronizer/RecordsChannel.java
@@ -351,17 +351,16 @@ public class RecordsChannel implements
 
   @Override
   public RepositorySessionFetchRecordsDelegate deferredFetchDelegate(ExecutorService executor) {
     // Lie outright. We know that all of our fetch methods are safe.
     return this;
   }
 
   @Nullable
-  @VisibleForTesting
   public synchronized ReflowIsNecessaryException getReflowException() {
     return reflowException;
   }
 
   private synchronized void setReflowException(@NonNull ReflowIsNecessaryException e) {
     // It is a mistake to set reflow exception multiple times.
     if (reflowException != null) {
       throw new IllegalStateException("Reflow exception already set: " + reflowException);