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

Method f

spotbugsTestCases/src/java/ExceptionSetMerge.java:8–18  ·  view source on GitHub ↗
(InputStream in)

Source from the content-addressed store, hash-verified

6
7public class ExceptionSetMerge {
8 public void f(InputStream in) {
9 Object o = new Object[0];
10
11 try {
12 System.out.println(in.read());
13 } catch (IOException e) {
14 o = e;
15 }
16
17 System.out.println(o.hashCode());
18 }
19}
20
21// vim:ts=4

Callers

nothing calls this directly

Calls 3

printlnMethod · 0.45
readMethod · 0.45
hashCodeMethod · 0.45

Tested by

no test coverage detected