Update AntFactory.java

Manual update (sync issue)