for (int userId : userIds) {
User user = _dao.getUserForId(userId);
_log.info("processing user: id=" + user.getId());
if (_propertiesMigration.needsMigration(user.getProperties(), _target)) {
_log.info("migrating user: id=" + user.getId());
UserProperties properties = _propertiesMigration.migrate(
user.getProperties(), _target);
user.setProperties(properties);
_dao.saveOrUpdateUser(user);
usersConverted++;
}