Advertisement
Guest User

Untitled

a guest
May 8th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.83 KB | None | 0 0
  1. Index: src/ru/sawim/modules/FileTransfer.java
  2. IDEA additional info:
  3. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  4. <+>UTF-8
  5. ===================================================================
  6. --- src/ru/sawim/modules/FileTransfer.java (date 1399476409000)
  7. +++ src/ru/sawim/modules/FileTransfer.java (revision )
  8. @@ -97,7 +97,7 @@
  9. setData(image == null ? in : new ByteArrayInputStream(image), fileSize);
  10. if (Util.isImageFile(filename)) {
  11. setProgress(0);
  12. - new Thread(this).start();
  13. + new Thread(this,"FileTransfer").start();
  14. addProgress();
  15. } else {
  16. askForNameDesc(activity);
  17. @@ -147,7 +147,7 @@
  18. }
  19. } else {
  20. setProgress(0);
  21. - new Thread(this).start();
  22. + new Thread(this,"FileTransfer").start();
  23. }
  24. addProgress();
  25. forms.back();
  26. @@ -268,7 +268,7 @@
  27. } catch (Throwable ignored) {
  28. }
  29. }
  30. - }).start();
  31. + },"ShowPreview").start();
  32. }
  33.  
  34. private void setFileName(String name) {
  35. \ No newline at end of file
  36. Index: src/ru/sawim/modules/sound/Notify.java
  37. IDEA additional info:
  38. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  39. <+>UTF-8
  40. ===================================================================
  41. --- src/ru/sawim/modules/sound/Notify.java (date 1399476409000)
  42. +++ src/ru/sawim/modules/sound/Notify.java (revision )
  43. @@ -149,7 +149,7 @@
  44. }
  45. nextPlayTime = next;
  46. playingType = notType;
  47. - new Thread(this).start();
  48. + new Thread(this,"PlayNotify").start();
  49. }
  50.  
  51. public void playSoundNotification(int notType) {
  52. \ No newline at end of file
  53. Index: src/protocol/vk/VkConnection.java
  54. IDEA additional info:
  55. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  56. <+>UTF-8
  57. ===================================================================
  58. --- src/protocol/vk/VkConnection.java (date 1399476409000)
  59. +++ src/protocol/vk/VkConnection.java (revision )
  60. @@ -32,7 +32,7 @@
  61. }
  62.  
  63. public void login() {
  64. - new Thread(this).start();
  65. + new Thread(this,"VkLogin").start();
  66. }
  67.  
  68. public void logout() {
  69. @@ -49,7 +49,7 @@
  70. }
  71.  
  72. private void exec(Runnable task) {
  73. - new Thread(task).start();
  74. + new Thread(task,"VkExec").start();
  75. }
  76.  
  77. private void sleep(int time) {
  78. Index: src/protocol/xmpp/XmppConnection.java
  79. IDEA additional info:
  80. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  81. <+>UTF-8
  82. ===================================================================
  83. --- src/protocol/xmpp/XmppConnection.java (date 1399476409000)
  84. +++ src/protocol/xmpp/XmppConnection.java (revision )
  85. @@ -1153,7 +1153,7 @@
  86. XmlNode bs64photo = vCard.getFirstNode("PHOTO");
  87. bs64photo = (null == bs64photo) ? null : bs64photo.getFirstNode("BINVAL");
  88. if (null != bs64photo) {
  89. - new Thread(new AvatarLoader(userInfo, bs64photo)).start();
  90. + new Thread(new AvatarLoader(userInfo, bs64photo),"XMPPAvatarLoad").start();
  91. }
  92. bs64photo = null;
  93. singleUserInfo = null;
  94. Index: src/protocol/xmpp/Socket.java
  95. IDEA additional info:
  96. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  97. <+>UTF-8
  98. ===================================================================
  99. --- src/protocol/xmpp/Socket.java (date 1399476409000)
  100. +++ src/protocol/xmpp/Socket.java (revision )
  101. @@ -183,6 +183,6 @@
  102. }
  103.  
  104. public void start() {
  105. - new Thread(this).start();
  106. + new Thread(this,"XMPPSocet").start();
  107. }
  108. }
  109. \ No newline at end of file
  110. Index: src/protocol/net/ClientConnection.java
  111. IDEA additional info:
  112. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  113. <+>UTF-8
  114. ===================================================================
  115. --- src/protocol/net/ClientConnection.java (date 1399476409000)
  116. +++ src/protocol/net/ClientConnection.java (revision )
  117. @@ -43,7 +43,7 @@
  118. }
  119.  
  120. public final void start() {
  121. - new Thread(this).start();
  122. + new Thread(this,"ClientConnection").start();
  123. }
  124.  
  125. public final void run() {
  126. \ No newline at end of file
  127. Index: src/ru/sawim/activities/OpenUriActivity.java
  128. IDEA additional info:
  129. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  130. <+>UTF-8
  131. ===================================================================
  132. --- src/ru/sawim/activities/OpenUriActivity.java (date 1399476409000)
  133. +++ src/ru/sawim/activities/OpenUriActivity.java (revision )
  134. @@ -37,7 +37,7 @@
  135. }
  136. process(uri);
  137. }
  138. - }).start();
  139. + },"OpenURI").start();
  140. }
  141. }
  142.  
  143. \ No newline at end of file
  144. Index: src/protocol/xmpp/XmppRegistration.java
  145. IDEA additional info:
  146. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  147. <+>UTF-8
  148. ===================================================================
  149. --- src/protocol/xmpp/XmppRegistration.java (date 1399476409000)
  150. +++ src/protocol/xmpp/XmppRegistration.java (revision )
  151. @@ -115,7 +115,7 @@
  152.  
  153. private void requestForm(String domain) {
  154. this.domain = domain;
  155. - new Thread(this).start();
  156. + new Thread(this,"XMPPRegistration").start();
  157. }
  158.  
  159. public void formAction(Forms form, boolean apply) {
  160. Index: src/protocol/GetAvatar.java
  161. IDEA additional info:
  162. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  163. <+>UTF-8
  164. ===================================================================
  165. --- src/protocol/GetAvatar.java (date 1399476409000)
  166. +++ src/protocol/GetAvatar.java (revision )
  167. @@ -35,7 +35,7 @@
  168. url = "http://api.icq.net/expressions/get?f=native&type=buddyIcon&t=" + uin;
  169. }
  170. try {
  171. - new Thread(this).start();
  172. + new Thread(this,"SetAvatar").start();
  173. Thread.sleep(10);
  174. } catch (Exception ignored) {
  175. }
  176. \ No newline at end of file
  177. Index: src/protocol/xmpp/XmppSession.java
  178. IDEA additional info:
  179. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  180. <+>UTF-8
  181. ===================================================================
  182. --- src/protocol/xmpp/XmppSession.java (date 1399476409000)
  183. +++ src/protocol/xmpp/XmppSession.java (revision )
  184. @@ -92,7 +92,7 @@
  185. "<register xmlns='http://sawim.ru/notifications#gcm' regid='" + regid + "' /></iq>");
  186. }
  187. }
  188. - }).start();
  189. + },"PushEnable").start();
  190. }
  191.  
  192. public void enableRebind(final XmppConnection connection) {
  193. @@ -110,7 +110,7 @@
  194. "</notification><appid>ru.sawim</appid></push></iq>");
  195. }
  196. }
  197. - }).start();
  198. + },"EnableRebind").start();
  199. }
  200.  
  201. public void clear(final XmppConnection connection) {
  202. @@ -126,7 +126,7 @@
  203. ignored.printStackTrace();
  204. }
  205. }
  206. - }).start();
  207. + },"PushUnregister").start();
  208. }
  209. editor.putBoolean("Enabled" + connection.fullJid_, false);
  210. editor.putLong("PacketsIn" + connection.fullJid_, 0);
  211. Index: src/ru/sawim/service/SawimService.java
  212. IDEA additional info:
  213. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  214. <+>UTF-8
  215. ===================================================================
  216. --- src/ru/sawim/service/SawimService.java (date 1399476409000)
  217. +++ src/ru/sawim/service/SawimService.java (revision )
  218. @@ -33,7 +33,7 @@
  219. public void run() {
  220. ChatHistory.instance.loadUnreadMessages();
  221. }
  222. - }).start();
  223. + },"loadUnreadMessage").start();
  224. if (RosterHelper.getInstance() != null) {
  225. RosterHelper.getInstance().autoConnect();
  226. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement