Revert "Update auto.java"

This reverts commit e6152fb20ff6c0146290dc5db33fe2f20a1970f0.