Skip to content

Commit

Permalink
Mica config's opal can be blank
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed Jan 23, 2023
1 parent 5c66e36 commit 18f04c7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public class MicaConfig extends AbstractAuditableDocument {
@NotBlank
private String defaultCharacterSet = DEFAULT_CHARSET;

@NotBlank
private String opal = DEFAULT_OPAL;

private List<String> roles = Lists.newArrayList(Membership.CONTACT, Membership.INVESTIGATOR);
Expand Down Expand Up @@ -223,7 +222,7 @@ public void setDefaultCharacterSet(String defaultCharacterSet) {
}

public String getOpal() {
return opal;
return opal == null ? "" : opal;
}

public void setOpal(String opal) {
Expand Down

0 comments on commit 18f04c7

Please sign in to comment.