Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: src/ru/sawim/modules/FileTransfer.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/ru/sawim/modules/FileTransfer.java (date 1399476409000)
- +++ src/ru/sawim/modules/FileTransfer.java (revision )
- @@ -97,7 +97,7 @@
- setData(image == null ? in : new ByteArrayInputStream(image), fileSize);
- if (Util.isImageFile(filename)) {
- setProgress(0);
- - new Thread(this).start();
- + new Thread(this,"FileTransfer").start();
- addProgress();
- } else {
- askForNameDesc(activity);
- @@ -147,7 +147,7 @@
- }
- } else {
- setProgress(0);
- - new Thread(this).start();
- + new Thread(this,"FileTransfer").start();
- }
- addProgress();
- forms.back();
- @@ -268,7 +268,7 @@
- } catch (Throwable ignored) {
- }
- }
- - }).start();
- + },"ShowPreview").start();
- }
- private void setFileName(String name) {
- \ No newline at end of file
- Index: src/ru/sawim/modules/sound/Notify.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/ru/sawim/modules/sound/Notify.java (date 1399476409000)
- +++ src/ru/sawim/modules/sound/Notify.java (revision )
- @@ -149,7 +149,7 @@
- }
- nextPlayTime = next;
- playingType = notType;
- - new Thread(this).start();
- + new Thread(this,"PlayNotify").start();
- }
- public void playSoundNotification(int notType) {
- \ No newline at end of file
- Index: src/protocol/vk/VkConnection.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/protocol/vk/VkConnection.java (date 1399476409000)
- +++ src/protocol/vk/VkConnection.java (revision )
- @@ -32,7 +32,7 @@
- }
- public void login() {
- - new Thread(this).start();
- + new Thread(this,"VkLogin").start();
- }
- public void logout() {
- @@ -49,7 +49,7 @@
- }
- private void exec(Runnable task) {
- - new Thread(task).start();
- + new Thread(task,"VkExec").start();
- }
- private void sleep(int time) {
- Index: src/protocol/xmpp/XmppConnection.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/protocol/xmpp/XmppConnection.java (date 1399476409000)
- +++ src/protocol/xmpp/XmppConnection.java (revision )
- @@ -1153,7 +1153,7 @@
- XmlNode bs64photo = vCard.getFirstNode("PHOTO");
- bs64photo = (null == bs64photo) ? null : bs64photo.getFirstNode("BINVAL");
- if (null != bs64photo) {
- - new Thread(new AvatarLoader(userInfo, bs64photo)).start();
- + new Thread(new AvatarLoader(userInfo, bs64photo),"XMPPAvatarLoad").start();
- }
- bs64photo = null;
- singleUserInfo = null;
- Index: src/protocol/xmpp/Socket.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/protocol/xmpp/Socket.java (date 1399476409000)
- +++ src/protocol/xmpp/Socket.java (revision )
- @@ -183,6 +183,6 @@
- }
- public void start() {
- - new Thread(this).start();
- + new Thread(this,"XMPPSocet").start();
- }
- }
- \ No newline at end of file
- Index: src/protocol/net/ClientConnection.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/protocol/net/ClientConnection.java (date 1399476409000)
- +++ src/protocol/net/ClientConnection.java (revision )
- @@ -43,7 +43,7 @@
- }
- public final void start() {
- - new Thread(this).start();
- + new Thread(this,"ClientConnection").start();
- }
- public final void run() {
- \ No newline at end of file
- Index: src/ru/sawim/activities/OpenUriActivity.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/ru/sawim/activities/OpenUriActivity.java (date 1399476409000)
- +++ src/ru/sawim/activities/OpenUriActivity.java (revision )
- @@ -37,7 +37,7 @@
- }
- process(uri);
- }
- - }).start();
- + },"OpenURI").start();
- }
- }
- \ No newline at end of file
- Index: src/protocol/xmpp/XmppRegistration.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/protocol/xmpp/XmppRegistration.java (date 1399476409000)
- +++ src/protocol/xmpp/XmppRegistration.java (revision )
- @@ -115,7 +115,7 @@
- private void requestForm(String domain) {
- this.domain = domain;
- - new Thread(this).start();
- + new Thread(this,"XMPPRegistration").start();
- }
- public void formAction(Forms form, boolean apply) {
- Index: src/protocol/GetAvatar.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/protocol/GetAvatar.java (date 1399476409000)
- +++ src/protocol/GetAvatar.java (revision )
- @@ -35,7 +35,7 @@
- url = "http://api.icq.net/expressions/get?f=native&type=buddyIcon&t=" + uin;
- }
- try {
- - new Thread(this).start();
- + new Thread(this,"SetAvatar").start();
- Thread.sleep(10);
- } catch (Exception ignored) {
- }
- \ No newline at end of file
- Index: src/protocol/xmpp/XmppSession.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/protocol/xmpp/XmppSession.java (date 1399476409000)
- +++ src/protocol/xmpp/XmppSession.java (revision )
- @@ -92,7 +92,7 @@
- "<register xmlns='http://sawim.ru/notifications#gcm' regid='" + regid + "' /></iq>");
- }
- }
- - }).start();
- + },"PushEnable").start();
- }
- public void enableRebind(final XmppConnection connection) {
- @@ -110,7 +110,7 @@
- "</notification><appid>ru.sawim</appid></push></iq>");
- }
- }
- - }).start();
- + },"EnableRebind").start();
- }
- public void clear(final XmppConnection connection) {
- @@ -126,7 +126,7 @@
- ignored.printStackTrace();
- }
- }
- - }).start();
- + },"PushUnregister").start();
- }
- editor.putBoolean("Enabled" + connection.fullJid_, false);
- editor.putLong("PacketsIn" + connection.fullJid_, 0);
- Index: src/ru/sawim/service/SawimService.java
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- src/ru/sawim/service/SawimService.java (date 1399476409000)
- +++ src/ru/sawim/service/SawimService.java (revision )
- @@ -33,7 +33,7 @@
- public void run() {
- ChatHistory.instance.loadUnreadMessages();
- }
- - }).start();
- + },"loadUnreadMessage").start();
- if (RosterHelper.getInstance() != null) {
- RosterHelper.getInstance().autoConnect();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement