Skip to content

Commit 39cd910

Browse files
committed
Align source code
1 parent 4dfb50d commit 39cd910

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/android/com/knowledgecode/cordova/websocket/ConnectionTask.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ private static void setCookie(Map<String, String> cookies, String host, String p
8383

8484
if (cookie != null) {
8585
for (String c : cookie.split(";")) {
86-
int position = c.indexOf("=");
86+
int position = c.indexOf("=");
87+
8788
if (position > 0) {
88-
String key = c.substring(0,position).trim();
89-
String value = c.substring(position+1).trim();
89+
String key = c.substring(0, position).trim();
90+
String value = c.substring(position + 1).trim();
9091
cookies.put(key, value);
9192
}
9293
}

0 commit comments

Comments
 (0)