Skip to content

Commit 0f6db83

Browse files
author
Devendra
committed
formatting code
1 parent ad65c95 commit 0f6db83

84 files changed

Lines changed: 1358 additions & 1365 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎android/Pubnub-Android-3.5.2.jar‎

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

‎android/examples/PubnubExample/src/com/pubnub/examples/pubnubExample/MainActivity.java‎

Lines changed: 231 additions & 231 deletions
Large diffs are not rendered by default.
0 Bytes
Binary file not shown.

‎android/examples/SubscribeAtBoot/src/com/pubnub/examples/subscribeAtBoot/PubnubService.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void onCreate() {
5757
Toast.makeText(this, "PubnubService created...", Toast.LENGTH_LONG).show();
5858
Log.i("PUBNUB", "PubnubService created...");
5959
try {
60-
pubnub.subscribe(new String[]{channel}, new Callback() {
60+
pubnub.subscribe(new String[] {channel}, new Callback() {
6161
@Override
6262
public void connectCallback(String channel) {
6363
notifyUser("CONNECT on channel:" + channel);

‎android/src/com/pubnub/api/Pubnub.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Pubnub extends PubnubCore {
2626
* SSL on ?
2727
*/
2828
public Pubnub(String publish_key, String subscribe_key, String secret_key,
29-
String cipher_key, boolean ssl_on) {
29+
String cipher_key, boolean ssl_on) {
3030
super(publish_key, subscribe_key, secret_key, cipher_key, ssl_on);
3131
}
3232

@@ -43,7 +43,7 @@ public Pubnub(String publish_key, String subscribe_key, String secret_key,
4343
* SSL on ?
4444
*/
4545
public Pubnub(String publish_key, String subscribe_key, String secret_key,
46-
boolean ssl_on) {
46+
boolean ssl_on) {
4747
super(publish_key, subscribe_key, secret_key, "", ssl_on);
4848
}
4949

@@ -118,7 +118,7 @@ public void setNonSubscribeTimeout(int timeout) {
118118

119119
protected String getUserAgent() {
120120
return "(Android " + android.os.Build.VERSION.RELEASE +
121-
"; " + android.os.Build.MODEL +
122-
" Build) PubNub-Java/Android/" + VERSION;
121+
"; " + android.os.Build.MODEL +
122+
" Build) PubNub-Java/Android/" + VERSION;
123123
}
124124
}
0 Bytes
Binary file not shown.

‎blackberry/examples/PubnubExample/src/com/pubnub/examples/blackberry/DetailedHistory.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public void errorCallback(String channel, PubnubError message) {
4040
}
4141
});
4242
close();
43-
}});
43+
}
44+
});
4445
}
4546

4647
}

‎blackberry/examples/PubnubExample/src/com/pubnub/examples/blackberry/HereNow.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public void errorCallback(String channel, PubnubError message) {
3838
}
3939
});
4040
close();
41-
}});
41+
}
42+
});
4243
}
4344

4445
}

‎blackberry/examples/PubnubExample/src/com/pubnub/examples/blackberry/History.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public void errorCallback(String channel, PubnubError error) {
4040
}
4141
});
4242
close();
43-
}});
43+
}
44+
});
4445
}
4546
}

0 commit comments

Comments
 (0)