fix typo in RestConfig.java