Skip to content

Commit 07db0af

Browse files
authored
xuy-upgrade-aws-s3-v2-core (#343)
remove un-used package
1 parent 517ef4d commit 07db0af

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,8 @@
109109
<version>0.9</version>
110110
</dependency>
111111
<dependency>
112-
<groupId>com.amazonaws</groupId>
113-
<artifactId>aws-java-sdk-s3</artifactId>
114-
<version>1.12.765</version>
112+
<groupId>software.amazon.awssdk</groupId>
113+
<artifactId>kms</artifactId>
115114
</dependency>
116115
<dependency>
117116
<groupId>io.micrometer</groupId>

src/main/java/com/uid2/core/service/MetadataProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected String getArrayMetadata(OperatorInfo info, String metadataPath, String
4545
for(int i = 0; i < arr.size(); ++i) {
4646
JsonObject obj = arr.getJsonObject(i);
4747
String location = obj.getString("location");
48-
obj.put("location", getDownloadUrlGenerator().preSignUrl(location).toString());
48+
obj.put("location", downloadUrlGenerator.preSignUrl(location).toString());
4949
}
5050
return main.encode();
5151
}

0 commit comments

Comments
 (0)