X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/3351db65273a8d8ff1d012e00025e728cc428419..6f1fe5ad6d8b6f49275a8e44c9631cc65b1bafc8:/src/com/owncloud/android/operations/common/SyncOperation.java diff --git a/src/com/owncloud/android/operations/common/SyncOperation.java b/src/com/owncloud/android/operations/common/SyncOperation.java index e16530d8..512be4e0 100644 --- a/src/com/owncloud/android/operations/common/SyncOperation.java +++ b/src/com/owncloud/android/operations/common/SyncOperation.java @@ -1,5 +1,8 @@ -/* ownCloud Android client application - * Copyright (C) 2012-2014 ownCloud Inc. +/** + * ownCloud Android client application + * + * @author David A. Velasco + * Copyright (C) 2015 ownCloud Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, @@ -23,7 +26,6 @@ import com.owncloud.android.lib.common.operations.OnRemoteOperationListener; import com.owncloud.android.lib.common.operations.RemoteOperation; import com.owncloud.android.lib.common.operations.RemoteOperationResult; -import android.app.Activity; import android.content.Context; import android.os.Handler; @@ -33,8 +35,6 @@ import android.os.Handler; * with local data in the device. * * Provides methods to execute the operation both synchronously or asynchronously. - * - * @author David A. Velasco */ public abstract class SyncOperation extends RemoteOperation { @@ -97,6 +97,7 @@ public abstract class SyncOperation extends RemoteOperation { * @param listenerHandler Handler associated to the thread where the methods of the listener objects must be called. * @return Thread were the remote operation is executed. */ + /* public Thread execute(FileDataStorageManager storageManager, Context context, OnRemoteOperationListener listener, Handler listenerHandler, Activity callerActivity) { if (storageManager == null) { throw new IllegalArgumentException("Trying to execute a sync operation with a NULL storage manager"); @@ -107,6 +108,7 @@ public abstract class SyncOperation extends RemoteOperation { mStorageManager = storageManager; return super.execute(storageManager.getAccount(), context, listener, listenerHandler, callerActivity); } + */ /**