Fix FORGE-774
Added @Override to anonymous inner class