From c170e7fadea0fc6b688eaa75aaec3818978faa42 Mon Sep 17 00:00:00 2001 From: Ryan Amari Date: Mon, 9 Dec 2024 08:57:12 -0500 Subject: [PATCH] ALS-7882: Add locale for checkmarx --- .../hms/dbmi/avillach/hpds/processing/AbstractProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/AbstractProcessor.java b/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/AbstractProcessor.java index 814d7caf..099a9632 100644 --- a/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/AbstractProcessor.java +++ b/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/AbstractProcessor.java @@ -272,7 +272,7 @@ public List getInfoStoreMeta() { public List searchInfoConceptValues(String conceptPath, String query) { try { return genomicProcessor.getInfoStoreValues(conceptPath).stream() - .filter(variableValue -> variableValue.toUpperCase().contains(query.toUpperCase())) + .filter(variableValue -> variableValue.toUpperCase(Locale.ENGLISH).contains(query.toUpperCase(Locale.ENGLISH))) .collect(Collectors.toList()); } catch (UncheckedExecutionException e) { if(e.getCause() instanceof RuntimeException) {