in src/main/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraVisibility.java [27:37]
public JiraVisibility(JiraVisibilityType type, String value) {
if (type != JiraVisibilityType.NOTSET && value != null) {
this.type = type;
this.value = value;
} else {
if (type != JiraVisibilityType.NOTSET || value != null) {
log.error("visibilityType and visibilityValue must be set together");
}
throw new IllegalArgumentException();
}
}