public int getInt(String key) { int ret = config.getInt(key, -1); if (ret == -1) { logger.warn("int property not found: {}", key); } return ret; }
public int getInt(String key, int def) { return config.getInt(key, def); }