Skip to content

Commit efceb97

Browse files
committed
fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
1 parent e53c10f commit efceb97

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

library/src/androidTest/java/com/owncloud/android/lib/resources/shares/CreateShareRemoteOperationIT.kt

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ class CreateShareRemoteOperationIT : AbstractIT() {
3232

3333
@Test
3434
fun createShareWithNoteAndAttributes() {
35-
val attributes = ShareAttributesJsonHandler.toJson(
36-
listOf(ShareAttributes.createDownloadAttributes(true))
37-
)
35+
val attributes =
36+
ShareAttributesJsonHandler.toJson(
37+
listOf(ShareAttributes.createDownloadAttributes(true))
38+
)
3839
val note = "Note with attributes"
3940
val path = "/shareWithAttributes/"
4041

@@ -63,17 +64,18 @@ class CreateShareRemoteOperationIT : AbstractIT() {
6364
note: String,
6465
attributes: String? = null
6566
): OCShare {
66-
val operation = CreateShareRemoteOperation(
67-
path,
68-
ShareType.USER,
69-
accountName,
70-
false,
71-
"",
72-
OCShare.MAXIMUM_PERMISSIONS_FOR_FOLDER,
73-
true,
74-
note,
75-
attributes
76-
)
67+
val operation =
68+
CreateShareRemoteOperation(
69+
path,
70+
ShareType.USER,
71+
accountName,
72+
false,
73+
"",
74+
OCShare.MAXIMUM_PERMISSIONS_FOR_FOLDER,
75+
true,
76+
note,
77+
attributes
78+
)
7779
val result = operation.execute(client)
7880
assertTrue(result.isSuccess)
7981
return result.resultData[0]

0 commit comments

Comments
 (0)