Browse Source

linewrap

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 6 years ago
parent
commit
b3312aa975

+ 2 - 1
src/main/java/com/nextcloud/client/network/ClientFactory.java

@@ -34,7 +34,8 @@ import java.io.IOException;
 public interface ClientFactory {
 public interface ClientFactory {
 
 
     OwnCloudClient create(Account account)
     OwnCloudClient create(Account account)
-        throws OperationCanceledException, AuthenticatorException, IOException, AccountUtils.AccountNotFoundException;
+        throws OperationCanceledException, AuthenticatorException, IOException,
+        AccountUtils.AccountNotFoundException;
 
 
     OwnCloudClient create(Account account, Activity currentActivity)
     OwnCloudClient create(Account account, Activity currentActivity)
         throws OperationCanceledException, AuthenticatorException, IOException,
         throws OperationCanceledException, AuthenticatorException, IOException,

+ 4 - 2
src/main/java/com/nextcloud/client/network/ClientFactoryImpl.java

@@ -43,13 +43,15 @@ class ClientFactoryImpl implements ClientFactory {
 
 
     @Override
     @Override
     public OwnCloudClient create(Account account)
     public OwnCloudClient create(Account account)
-        throws OperationCanceledException, AuthenticatorException, IOException, AccountUtils.AccountNotFoundException {
+        throws OperationCanceledException, AuthenticatorException, IOException,
+        AccountUtils.AccountNotFoundException {
         return OwnCloudClientFactory.createOwnCloudClient(account, context);
         return OwnCloudClientFactory.createOwnCloudClient(account, context);
     }
     }
 
 
     @Override
     @Override
     public OwnCloudClient create(Account account, Activity currentActivity)
     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);
         return OwnCloudClientFactory.createOwnCloudClient(account, context, currentActivity);
     }
     }
 
 

+ 2 - 1
src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java

@@ -781,7 +781,8 @@ public class FileOperationsHelper {
 
 
                 intent.setDataAndType(uri, file.getMimeType());
                 intent.setDataAndType(uri, file.getMimeType());
                 fileActivity.startActivityForResult(Intent.createChooser(intent,
                 fileActivity.startActivityForResult(Intent.createChooser(intent,
-                                                                         fileActivity.getString(R.string.set_as)), 200);
+                                                                         fileActivity.getString(R.string.set_as)),
+                                                    200);
 
 
                 intent.setDataAndType(uri, file.getMimeType());
                 intent.setDataAndType(uri, file.getMimeType());
             } catch (ActivityNotFoundException exception) {
             } catch (ActivityNotFoundException exception) {