Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
connorlbark committed Jan 22, 2025
1 parent 52cce07 commit 28b56e5
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
import bio.terra.pearl.core.service.i18n.LanguageTextService;
import bio.terra.pearl.core.service.portal.PortalEnvironmentService;
import bio.terra.pearl.core.service.portal.PortalService;
import io.opentelemetry.api.internal.StringUtils;
import java.util.HashMap;
import org.apache.commons.lang3.StringUtils;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;

import java.util.HashMap;

@Controller
public class I18nController implements I18nApi {
private final LanguageTextService languageTextService;
Expand All @@ -31,7 +30,7 @@ public I18nController(
@Override
public ResponseEntity<Object> listLanguageTexts(
String language, String portalShortcode, String environmentName) {
if (StringUtils.isNullOrEmpty(environmentName)) {
if (StringUtils.isEmpty(environmentName)) {
environmentName = "live";
}

Expand Down

0 comments on commit 28b56e5

Please sign in to comment.