This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ class ShareXMLParser {
176
176
name.equals(NODE_ELEMENT , ignoreCase = true ) -> {
177
177
readElement(parser, shares)
178
178
}
179
- name.equals(NODE_ID , ignoreCase = true ) -> {// Parse Create XML Response
179
+ name.equals(NODE_ID , ignoreCase = true ) -> { // Parse Create XML Response
180
180
share = RemoteShare ()
181
181
val value = readNode(parser, NODE_ID )
182
182
share.id = value
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ internal class StatusRequester {
45
45
redirectedToNonSecureLocationBefore : Boolean ,
46
46
baseUrl : String ,
47
47
redirectedUrl : String
48
- ) = redirectedToNonSecureLocationBefore
49
- || (baseUrl.startsWith(HTTPS_SCHEME )
50
- && ! redirectedUrl.startsWith(HTTPS_SCHEME ))
48
+ ) = redirectedToNonSecureLocationBefore ||
49
+ (baseUrl.startsWith(HTTPS_SCHEME ) &&
50
+ ! redirectedUrl.startsWith(HTTPS_SCHEME ))
51
51
52
52
fun updateLocationWithRedirectPath (oldLocation : String , redirectedLocation : String ): String {
53
53
/* * Redirection with different endpoint.
You can’t perform that action at this time.
0 commit comments