/** * Safe way to stop the watch. This method will check if it is running - in order to avoid {@link IllegalStateException}. */ private void stopWatchIfRunning() { if (getWatch().isRunning()) { getWatch().stop(); } } }
/** * Safe way to stop the watch. This method will check if it is running - in order to avoid {@link IllegalStateException}. */ private void stopWatchIfRunning() { if (getWatch().isRunning()) { getWatch().stop(); } } }