throw new MetadataServiceException("Stream name should be set for create");
}
String name = stream.getName();
if(name == null || (name != null && name.isEmpty())) {
throw new MetadataServiceException("Stream name cannot be null or empty");
<BUG>}
if(! stream.isSetDescription()) {
throw new MetadataServiceException("Stream description should be set " +
"for create");
}
String description = stream.getDescription();
if(description == null || (description != null && description.isEmpty())) {
throw new MetadataServiceException("Stream description is empty or null");</BUG>
}

throw new MetadataServiceException("Stream name should be set for create");
}
String name = stream.getName();
if(name == null || (name != null && name.isEmpty())) {
throw new MetadataServiceException("Stream name cannot be null or empty");
}
String description = "";
if(stream.isSetDescription()) {
description = stream.getDescription();
}
