| 20 | import org.apache.juli.logging.LogFactory; |
| 21 | |
| 22 | public class TesterCounter { |
| 23 | |
| 24 | private static final Log log = LogFactory.getLog(TesterCounter.class); |
| 25 | |
| 26 | static { |
| 27 | log.info("TestCounter loaded by " + TesterCounter.class.getClassLoader() + |
| 28 | " in thread " + Thread.currentThread().getName()); |
| 29 | } |
| 30 | |
| 31 | private int count = 0; |
| 32 | |
| 33 | public void increment() { |
| 34 | count++; |
| 35 | } |
| 36 | |
| 37 | public int getCount() { |
| 38 | return count; |
| 39 | } |
| 40 | } |
nothing calls this directly
no test coverage detected