mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
No bug - Fix warnings. r=trivial
DONTBUILD --HG-- extra : amend_source : 6805921db1e6afa164b2b3ac066bf08b3ec17a4a
This commit is contained in:
parent
dfa7a3294c
commit
ab9b0a7ae2
@ -4,20 +4,13 @@
|
||||
|
||||
package org.mozilla.gecko.sync;
|
||||
|
||||
import org.mozilla.gecko.background.common.log.Logger;
|
||||
|
||||
import android.content.ContentResolver;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.SharedPreferences.Editor;
|
||||
import android.os.Bundle;
|
||||
|
||||
public class PrefsBackoffHandler implements BackoffHandler {
|
||||
private static final String LOG_TAG = "BackoffHandler";
|
||||
|
||||
public static final String PREF_EARLIEST_NEXT = "earliestnext";
|
||||
|
||||
private final SharedPreferences prefs;
|
||||
private final String prefSuffix;
|
||||
private final String prefEarliest;
|
||||
|
||||
public PrefsBackoffHandler(final SharedPreferences prefs, final String prefSuffix) {
|
||||
@ -25,7 +18,6 @@ public class PrefsBackoffHandler implements BackoffHandler {
|
||||
throw new IllegalArgumentException("prefs must not be null.");
|
||||
}
|
||||
this.prefs = prefs;
|
||||
this.prefSuffix = prefSuffix;
|
||||
this.prefEarliest = PREF_EARLIEST_NEXT + "." + prefSuffix;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
package org.mozilla.gecko.sync.setup.activities;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user