in src/main/java/com/microsoft/azure/spark/tools/http/UserAgentEntity.java [31:51]
public UserAgentEntity(final String product,
final @Nullable String version,
final @Nullable String comment) {
if (StringUtils.isBlank(product)) {
throw new IllegalArgumentException("Product can't be blank.");
}
this.product = product;
if (StringUtils.isNotBlank(version)) {
this.version = version;
} else {
this.version = null;
}
if (StringUtils.isNotBlank(comment)) {
this.comment = comment;
} else {
this.comment = null;
}
}