()
| 184 | |
| 185 | |
| 186 | public void startThread() { |
| 187 | if (thread == null) { |
| 188 | thread = createThread(); |
| 189 | thread.start(); |
| 190 | } else { |
| 191 | throw new IllegalStateException("Thread already started in " + |
| 192 | getClass().getSimpleName()); |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | |
| 197 | public boolean stopThread() { |
nothing calls this directly
no test coverage detected