MCPcopy Create free account
hub / github.com/spotbugs/spotbugs / run

Method run

spotbugsTestCases/src/java/Mwn.java:14–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 String address = "localhost";
13
14 public void run() {
15 Object result = null;
16
17 try {
18 final Socket s = new Socket(address, 12345);
19 result = s;
20 } catch (final IOException ioe) {
21 result = ioe;
22 } finally {
23 synchronized (hung) {
24 hung.remove(address);
25 hung.notifyAll();
26 }
27 }
28
29 synchronized (done) {
30 done[0] = result;
31 done.notifyAll();
32 }
33 }
34
35 public static final String DOMAINCFG = "Hi";
36

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected