Skip to content

Commit

Permalink
feat(jans-auth-server): corrected GluuOrganization - refactor getOrga…
Browse files Browse the repository at this point in the history
…nizationName() #2947
  • Loading branch information
yuriyz committed Nov 9, 2022
1 parent 2be9c5c commit 7b2eed8
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import org.apache.tika.utils.StringUtils;

import java.io.Serializable;

/**
Expand Down Expand Up @@ -89,13 +91,6 @@ public void setJsFaviconPath(String jsFaviconPath) {
this.jsFaviconPath = jsFaviconPath;
}

public String getOrganizationTitle() {
if (title == null || title.trim().equals("")) {
return "Gluu";
}
return title;
}

public String getCountryName() {
return countryName;
}
Expand Down Expand Up @@ -177,6 +172,9 @@ public void setThemeColor(String themeColor) {
}

public String getTitle() {
if (StringUtils.isBlank(title)) {
title = "Gluu";
}
return title;
}

Expand Down

0 comments on commit 7b2eed8

Please sign in to comment.