1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-10 01:16:23 +00:00

Remove commented code

This commit is contained in:
masensio 2015-10-29 10:49:19 +01:00 committed by David A. Velasco
parent ea26e43c0d
commit 642051cf45

View File

@ -28,7 +28,6 @@
package com.owncloud.android.lib.resources.shares; package com.owncloud.android.lib.resources.shares;
import android.net.Uri; import android.net.Uri;
import android.util.Pair;
import com.owncloud.android.lib.common.OwnCloudClient; import com.owncloud.android.lib.common.OwnCloudClient;
import com.owncloud.android.lib.common.operations.RemoteOperation; import com.owncloud.android.lib.common.operations.RemoteOperation;
@ -157,14 +156,9 @@ public class GetRemoteShareesOperation extends RemoteOperation{
}; };
ArrayList<Object> data = new ArrayList<Object>(); // For result data ArrayList<Object> data = new ArrayList<Object>(); // For result data
// Pair<String, Byte> match;
for (int i=0; i<4; i++) { for (int i=0; i<4; i++) {
for(int j=0; j< jsonResults[i].length(); j++){ for(int j=0; j< jsonResults[i].length(); j++){
JSONObject jsonResult = jsonResults[i].getJSONObject(j); JSONObject jsonResult = jsonResults[i].getJSONObject(j);
// match = new Pair<String, Byte>(
// jsonResult.getString(PROPERTY_LABEL),
// (byte)jsonResult.getJSONObject(NODE_VALUE).getInt(PROPERTY_SHARE_TYPE)
// );
data.add(jsonResult); data.add(jsonResult);
Log_OC.d(TAG, "*** Added item: " + jsonResult.getString(PROPERTY_LABEL)); Log_OC.d(TAG, "*** Added item: " + jsonResult.getString(PROPERTY_LABEL));
} }