MCPcopy Index your code
hub / github.com/boazy/TWEditorEnhanced / run

Method run

src/main/java/StreamReader.java:21–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 public void run()
22 {
23 try
24 {
25 int c;
26 while ((c = this.reader.read()) != -1) {
27 this.writer.write(c);
28 }
29 this.reader.close();
30 this.buffer = this.writer.getBuffer();
31 } catch (IOException exc) {
32 Main.logException("Unable to read from input stream", exc);
33 }
34 }
35
36 public StringBuffer getBuffer()
37 throws IllegalThreadStateException

Callers

nothing calls this directly

Calls 5

logExceptionMethod · 0.95
writeMethod · 0.80
getBufferMethod · 0.80
readMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected