if value is `parent/child`, then this would fail to catch this. Could change it 
to:

```
if (value == null) {
      throw new IllegalArgumentException("Region name cannot be null");
    }

    if (value.startsWith("/")) {
      value = value.substring(1);
    }

    if (value.split("/").length > 1) {
      throw new IllegalArgumentException("Region name is invalid -- cannot have 
multiple slashes");
    }
    
    this.name = value;
```

[ Full content available at: https://github.com/apache/geode/pull/3059 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to