mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1046020 - Follow-up: Revert added initializers. r=trivial
This commit is contained in:
parent
ba0e8ba23d
commit
6e42778210
@ -21,7 +21,7 @@ public class MockMyIDTokenFactory {
|
||||
public static final BigInteger MOCKMYID_g = new BigInteger("c52a4a0ff3b7e61fdf1867ce84138369a6154f4afa92966e3c827e25cfa6cf508b90e5de419e1337e07a2e9e2a3cd5dea704d175f8ebf6af397d69e110b96afb17c7a03259329e4829b0d03bbc7896b15b4ade53e130858cc34d96269aa89041f409136c7242a38895c9d5bccad4f389af1d7a4bd1398bd072dffa896233397a", 16);
|
||||
|
||||
// Computed lazily by static <code>getMockMyIDPrivateKey</code>.
|
||||
protected static SigningPrivateKey cachedMockMyIDPrivateKey = null;
|
||||
protected static SigningPrivateKey cachedMockMyIDPrivateKey;
|
||||
|
||||
public static SigningPrivateKey getMockMyIDPrivateKey() throws NoSuchAlgorithmException, InvalidKeySpecException {
|
||||
if (cachedMockMyIDPrivateKey == null) {
|
||||
|
@ -14,7 +14,7 @@ public class FxAccountAuthenticatorService extends Service {
|
||||
public static final String LOG_TAG = FxAccountAuthenticatorService.class.getSimpleName();
|
||||
|
||||
// Lazily initialized by <code>getAuthenticator</code>.
|
||||
protected FxAccountAuthenticator accountAuthenticator = null;
|
||||
protected FxAccountAuthenticator accountAuthenticator;
|
||||
|
||||
protected synchronized FxAccountAuthenticator getAuthenticator() {
|
||||
if (accountAuthenticator == null) {
|
||||
|
@ -74,7 +74,7 @@ public class FxAccountSyncAdapter extends AbstractThreadedSyncAdapter {
|
||||
// Used to do cheap in-memory rate limiting. Don't sync again if we
|
||||
// successfully synced within this duration.
|
||||
private static final int MINIMUM_SYNC_DELAY_MILLIS = 15 * 1000; // 15 seconds.
|
||||
private volatile long lastSyncRealtimeMillis = 0L;
|
||||
private volatile long lastSyncRealtimeMillis;
|
||||
|
||||
protected final ExecutorService executor;
|
||||
protected final FxAccountNotificationManager notificationManager;
|
||||
|
@ -10,7 +10,7 @@ import android.os.IBinder;
|
||||
|
||||
public class FxAccountSyncService extends Service {
|
||||
private static final Object syncAdapterLock = new Object();
|
||||
private static FxAccountSyncAdapter syncAdapter = null;
|
||||
private static FxAccountSyncAdapter syncAdapter;
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
|
@ -23,7 +23,7 @@ public class FxAccountSyncStatusHelper implements SyncStatusObserver {
|
||||
@SuppressWarnings("unused")
|
||||
private static final String LOG_TAG = FxAccountSyncStatusHelper.class.getSimpleName();
|
||||
|
||||
protected static FxAccountSyncStatusHelper sInstance = null;
|
||||
protected static FxAccountSyncStatusHelper sInstance;
|
||||
|
||||
public synchronized static FxAccountSyncStatusHelper getInstance() {
|
||||
if (sInstance == null) {
|
||||
@ -33,7 +33,7 @@ public class FxAccountSyncStatusHelper implements SyncStatusObserver {
|
||||
}
|
||||
|
||||
// Used to unregister this as a listener.
|
||||
protected Object handle = null;
|
||||
protected Object handle;
|
||||
|
||||
// Maps delegates to whether their underlying Android account was syncing the
|
||||
// last time we observed a status change.
|
||||
|
@ -85,9 +85,9 @@ public abstract class FxAccountSetupTask<T> extends AsyncTask<Void, Void, InnerR
|
||||
|
||||
protected static class InnerRequestDelegate<T> implements RequestDelegate<T> {
|
||||
protected final CountDownLatch latch;
|
||||
public T response = null;
|
||||
public Exception exception = null;
|
||||
public FxAccountClientRemoteException failure = null;
|
||||
public T response;
|
||||
public Exception exception;
|
||||
public FxAccountClientRemoteException failure;
|
||||
|
||||
protected InnerRequestDelegate(CountDownLatch latch) {
|
||||
this.latch = latch;
|
||||
|
Loading…
Reference in New Issue
Block a user