Nicer sleep() With TimeUnit 📎
import java.util.concurrent.TimeUnit;
//...
try {
TimeUnit.SECONDS.sleep(5);
} catch (InterruptedException ex) {}
See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.