| 14 | } |
| 15 | |
| 16 | class Safe implements SharedArg { |
| 17 | private static AtomicInteger counter = |
| 18 | new AtomicInteger(); |
| 19 | @Override public int get() { |
| 20 | return counter.getAndIncrement(); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | class SharedUser implements HasID { |
| 25 | private final int id; |
nothing calls this directly
no outgoing calls
no test coverage detected