From b3312aa97517971cbfe557578ddd1dfa45422007 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 22 May 2019 10:56:59 +0200 Subject: [PATCH] linewrap Signed-off-by: tobiasKaminsky --- .../java/com/nextcloud/client/network/ClientFactory.java | 3 ++- .../com/nextcloud/client/network/ClientFactoryImpl.java | 6 ++++-- .../owncloud/android/ui/helpers/FileOperationsHelper.java | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/nextcloud/client/network/ClientFactory.java b/src/main/java/com/nextcloud/client/network/ClientFactory.java index e3fbfceb38..363cc04dde 100644 --- a/src/main/java/com/nextcloud/client/network/ClientFactory.java +++ b/src/main/java/com/nextcloud/client/network/ClientFactory.java @@ -34,7 +34,8 @@ import java.io.IOException; public interface ClientFactory { OwnCloudClient create(Account account) - throws OperationCanceledException, AuthenticatorException, IOException, AccountUtils.AccountNotFoundException; + throws OperationCanceledException, AuthenticatorException, IOException, + AccountUtils.AccountNotFoundException; OwnCloudClient create(Account account, Activity currentActivity) throws OperationCanceledException, AuthenticatorException, IOException, diff --git a/src/main/java/com/nextcloud/client/network/ClientFactoryImpl.java b/src/main/java/com/nextcloud/client/network/ClientFactoryImpl.java index fe7c2269e3..e4b7c5da92 100644 --- a/src/main/java/com/nextcloud/client/network/ClientFactoryImpl.java +++ b/src/main/java/com/nextcloud/client/network/ClientFactoryImpl.java @@ -43,13 +43,15 @@ class ClientFactoryImpl implements ClientFactory { @Override public OwnCloudClient create(Account account) - throws OperationCanceledException, AuthenticatorException, IOException, AccountUtils.AccountNotFoundException { + throws OperationCanceledException, AuthenticatorException, IOException, + AccountUtils.AccountNotFoundException { return OwnCloudClientFactory.createOwnCloudClient(account, context); } @Override public OwnCloudClient create(Account account, Activity currentActivity) - throws OperationCanceledException, AuthenticatorException, IOException, AccountUtils.AccountNotFoundException { + throws OperationCanceledException, AuthenticatorException, IOException, + AccountUtils.AccountNotFoundException { return OwnCloudClientFactory.createOwnCloudClient(account, context, currentActivity); } diff --git a/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java b/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java index cadaa25c86..143e733782 100755 --- a/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java +++ b/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java @@ -781,7 +781,8 @@ public class FileOperationsHelper { intent.setDataAndType(uri, file.getMimeType()); fileActivity.startActivityForResult(Intent.createChooser(intent, - fileActivity.getString(R.string.set_as)), 200); + fileActivity.getString(R.string.set_as)), + 200); intent.setDataAndType(uri, file.getMimeType()); } catch (ActivityNotFoundException exception) {