app/src/main/java/de/ahlfeld/breminale/app/sync/SyncService.java
@Override
    public void onCreate() {
        synchronized (sSyncAdapterLock) {
            if(sSyncAdapter == null) {
                sSyncAdapter = new SyncAdapter(getApplicationContext(), true);
            }
        }

    }
/*
     * Instantiate the sync adapter object.
     */
Instantiate the sync adapter object.
Instantiate the sync adapter object .
@Override
    public void onCreate() {
        synchronized (sSyncAdapterLock) {
            if(sSyncAdapter == null) {
                sSyncAdapter = new SyncAdapter(getApplicationContext(), true);
            }
        }
    }
@ Override public void onCreate ( ) { synchronized ( sSyncAdapterLock ) { if ( sSyncAdapter == null ) { sSyncAdapter = new SyncAdapter ( getApplicationContext ( ) , true ) ; } } }
Instantiate the sync adapter object.
Instantiate the sync adapter object .