Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c9bc6fc

Browse files
author
Ram swaroop
committed
code refactoring
1 parent 822c69a commit c9bc6fc

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/me/ramswaroop/misc/BotTesting.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Time: 4:16 PM
88
* To change this template go to Preferences | IDE Settings | File and Code Templates
99
*/
10+
1011
import java.io.BufferedReader;
1112
import java.io.IOException;
1213
import java.io.InputStreamReader;
@@ -21,6 +22,7 @@ public static void main(String args[]) throws MalformedURLException {
2122
final URL myURL = new URL("http://localhost:8080/ifb.html");
2223
ExecutorService executorService = Executors.newFixedThreadPool(20);
2324
Long start = System.currentTimeMillis();
25+
2426
for (int i = 0; i <= 50; i++) {
2527
executorService.execute(new Runnable() {
2628

@@ -53,12 +55,4 @@ public void run() {
5355
System.out.println("Difference: " + diff + "ms");
5456
executorService.shutdown();
5557
}
56-
57-
private class MyThread extends Thread {
58-
59-
@Override
60-
public void run(){
61-
62-
}
63-
}
6458
}

0 commit comments

Comments
 (0)