@@ -28,7 +28,7 @@ public String doInBackground() throws Throwable {
28
28
if (index < 4 ) {
29
29
return Thread .currentThread () + " :" + index ;
30
30
} else if (index < 7 ) {
31
- ThreadUtils . cancel (this );
31
+ cancel ();
32
32
return null ;
33
33
} else {
34
34
throw new NullPointerException (String .valueOf (index ));
@@ -57,7 +57,7 @@ public String doInBackground() throws Throwable {
57
57
if (index < 4 ) {
58
58
return Thread .currentThread () + " :" + index ;
59
59
} else if (index < 7 ) {
60
- ThreadUtils . cancel (this );
60
+ cancel ();
61
61
return null ;
62
62
} else {
63
63
throw new NullPointerException (String .valueOf (index ));
@@ -86,7 +86,7 @@ public String doInBackground() throws Throwable {
86
86
if (index < 4 ) {
87
87
return Thread .currentThread () + " :" + index ;
88
88
} else if (index < 7 ) {
89
- ThreadUtils . cancel (this );
89
+ cancel ();
90
90
return null ;
91
91
} else {
92
92
throw new NullPointerException (String .valueOf (index ));
@@ -115,7 +115,7 @@ public String doInBackground() throws Throwable {
115
115
if (index < 4 ) {
116
116
return Thread .currentThread () + " :" + index ;
117
117
} else if (index < 7 ) {
118
- ThreadUtils . cancel (this );
118
+ cancel ();
119
119
return null ;
120
120
} else {
121
121
throw new NullPointerException (String .valueOf (index ));
@@ -144,7 +144,7 @@ public String doInBackground() throws Throwable {
144
144
if (index < 4 ) {
145
145
return Thread .currentThread () + " :" + index ;
146
146
} else if (index < 7 ) {
147
- ThreadUtils . cancel (this );
147
+ cancel ();
148
148
return null ;
149
149
} else {
150
150
throw new NullPointerException (String .valueOf (index ));
@@ -173,7 +173,7 @@ public String doInBackground() throws Throwable {
173
173
if (index < 4 ) {
174
174
return Thread .currentThread () + " :" + index ;
175
175
} else if (index < 7 ) {
176
- ThreadUtils . cancel (this );
176
+ cancel ();
177
177
return null ;
178
178
} else {
179
179
throw new NullPointerException (String .valueOf (index ));
@@ -202,7 +202,7 @@ public String doInBackground() throws Throwable {
202
202
if (index < 4 ) {
203
203
return Thread .currentThread () + " :" + index ;
204
204
} else if (index < 7 ) {
205
- ThreadUtils . cancel (this );
205
+ cancel ();
206
206
return null ;
207
207
} else {
208
208
throw new NullPointerException (String .valueOf (index ));
@@ -231,7 +231,7 @@ public String doInBackground() throws Throwable {
231
231
if (index < 4 ) {
232
232
return Thread .currentThread () + " :" + index ;
233
233
} else if (index < 7 ) {
234
- ThreadUtils . cancel (this );
234
+ cancel ();
235
235
return null ;
236
236
} else {
237
237
throw new NullPointerException (String .valueOf (index ));
@@ -260,7 +260,7 @@ public String doInBackground() throws Throwable {
260
260
if (index < 4 ) {
261
261
return Thread .currentThread () + " :" + index ;
262
262
} else if (index < 7 ) {
263
- ThreadUtils . cancel (this );
263
+ cancel ();
264
264
return null ;
265
265
} else {
266
266
throw new NullPointerException (String .valueOf (index ));
@@ -289,7 +289,7 @@ public String doInBackground() throws Throwable {
289
289
if (index < 4 ) {
290
290
return Thread .currentThread () + " :" + index ;
291
291
} else if (index < 7 ) {
292
- ThreadUtils . cancel (this );
292
+ cancel ();
293
293
return null ;
294
294
} else {
295
295
throw new NullPointerException (String .valueOf (index ));
@@ -318,7 +318,7 @@ public String doInBackground() throws Throwable {
318
318
if (index < 4 ) {
319
319
return Thread .currentThread () + " :" + index ;
320
320
} else if (index < 7 ) {
321
- ThreadUtils . cancel (this );
321
+ cancel ();
322
322
return null ;
323
323
} else {
324
324
throw new NullPointerException (String .valueOf (index ));
@@ -347,7 +347,7 @@ public String doInBackground() throws Throwable {
347
347
if (index < 4 ) {
348
348
return Thread .currentThread () + " :" + index ;
349
349
} else if (index < 7 ) {
350
- ThreadUtils . cancel (this );
350
+ cancel ();
351
351
return null ;
352
352
} else {
353
353
throw new NullPointerException (String .valueOf (index ));
0 commit comments