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

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