task Replace usage of awssdk
This commit is contained in:
parent
39ee86d0fe
commit
754bd49781
|
@ -43,7 +43,7 @@ import ca.uhn.fhir.jpa.model.entity.SearchParamPresentEntity;
|
|||
import ca.uhn.fhir.jpa.model.entity.StorageSettings;
|
||||
import ca.uhn.fhir.util.ClasspathUtil;
|
||||
import ca.uhn.fhir.util.VersionEnum;
|
||||
import software.amazon.awssdk.utils.StringUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
|
@ -505,7 +505,7 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks<VersionEnum> {
|
|||
String postgresTuningStatementsAll = ClasspathUtil.loadResource("ca/uhn/fhir/jpa/docs/database/hapifhirpostgres94-init01.sql");
|
||||
List<String> postgresTuningStatements = Arrays
|
||||
.stream(postgresTuningStatementsAll.split("\\n"))
|
||||
.map(org.apache.commons.lang3.StringUtils::trim)
|
||||
.map(StringUtils::trim)
|
||||
.filter(StringUtils::isNotBlank)
|
||||
.filter(t -> !t.startsWith("--"))
|
||||
.collect(Collectors.toList());
|
||||
|
|
Loading…
Reference in New Issue