A colleague noticed this code yesterday, which is the Java equivalent of jumping a double salto, then falling back at the same place from where you started:
private ListallHosts; public void myMethod(Host theHost) { Host myHost = allHosts.get(allHosts.indexOf(theHost)); ... }