Remove delayClear(). Format java code.