private synchronized Properties getByGroup0(String confGroup) { ConfQuery query = new ConfQuery(); query.setConfGroup(confGroup); List<Conf> confList = confDao.findByGroup(confGroup); Properties props = new Properties(); for (Conf conf : confList) { String key = conf.getConfKey(); String value = conf.getConfValue(); if (StringUtils.isBlank(value)) { value = conf.getConfDefaultValue(); } if (StringUtils.isNotBlank(key) && StringUtils.isNotBlank(value)) props.put(key, value); } return props; }