Change-Id: I42e1d91a837429a181fa37af3f2f68faf88bbc10
if ( !"western".equals(scheme) && !"single".equals("scheme")) {
throw new GigiApiException("Invalid name type.");
}
if ( !"western".equals(scheme) && !"single".equals("scheme")) {
throw new GigiApiException("Invalid name type.");
}
- if (name != null && name.contains(" ")) {
+ if (name.contains(" ")) {
throw new GigiApiException("Single names may only have one part.");
}
throw new GigiApiException("Single names may only have one part.");
}