private void addAttributes(SubscriberRegistration subscriberRegistration, String group) {

        // if group == null; group = "DEFAULT_GROUP"
        if (StringUtils.isNotEmpty(group)) {
            subscriberRegistration.setGroup(group);
        }

        subscriberRegistration.setScopeEnum(ScopeEnum.global);
    }
private void addAttributes ( SubscriberRegistration subscriberRegistration , String group ) { if ( StringUtils . isNotEmpty ( group ) ) { subscriberRegistration . setGroup ( group ) ; } subscriberRegistration . setScopeEnum ( ScopeEnum . global ) ; }
添加额外的属性

@param subscriberRegistration 注册或者订阅对象
@param group           分组