mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Rename confusing vars after CR
This commit is contained in:
parent
455cabb72b
commit
b2034e1be2
@ -45,12 +45,12 @@ public class DynamicSessionManager implements OwnCloudClientManager {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public OwnCloudClient removeClientFor(OwnCloudAccount account) {
|
public OwnCloudClient removeClientFor(OwnCloudAccount account) {
|
||||||
OwnCloudClient clientRemoved = mSimpleFactoryManager.removeClientFor(account);
|
OwnCloudClient clientRemovedFromFactoryManager = mSimpleFactoryManager.removeClientFor(account);
|
||||||
OwnCloudClient clientRemoved2 = mSingleSessionManager.removeClientFor(account);
|
OwnCloudClient clientRemovedFromSingleSessionManager = mSingleSessionManager.removeClientFor(account);
|
||||||
if (clientRemoved2 != null) {
|
if (clientRemovedFromSingleSessionManager != null) {
|
||||||
return clientRemoved2;
|
return clientRemovedFromSingleSessionManager;
|
||||||
} else {
|
} else {
|
||||||
return clientRemoved;
|
return clientRemovedFromFactoryManager;
|
||||||
}
|
}
|
||||||
// clientRemoved and clientRemoved2 should not be != null at the same time
|
// clientRemoved and clientRemoved2 should not be != null at the same time
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user