src/main/java/com/aliyun/openservices/log/common/Topostore.java [186:202]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (name == null || name.isEmpty()) {
            throw new IllegalArgumentException("topostore name is null/empty");
        }

        if (schema != null) {
            try {
                JSONObject.parseObject(schema);
            } catch (JSONException e) {
                throw new IllegalArgumentException("topostore schema not valid json");
            }
        }

        if (acl != null) {
            try {
                JSONObject.parseObject(acl);
            } catch (JSONException e) {
                throw new IllegalArgumentException("topostore acl not valid json");
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/com/aliyun/openservices/log/common/Topostore.java [212:228]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (name == null || name.isEmpty()) {
            throw new IllegalArgumentException("topostore name is null/empty");
        }

        if (schema != null) {
            try {
                JSONObject.parseObject(schema);
            } catch (JSONException e) {
                throw new IllegalArgumentException("topostore schema not valid json");
            }
        }

        if (acl != null) {
            try {
                JSONObject.parseObject(acl);
            } catch (JSONException e) {
                throw new IllegalArgumentException("topostore acl not valid json");
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



