snuyanzin commented on code in PR #27026:
URL: https://github.com/apache/flink/pull/27026#discussion_r3410160745
##########
flink-filesystems/flink-s3-fs-base/src/main/java/org/apache/flink/fs/s3/common/writer/S3RecoverableSerializer.java:
##########
@@ -51,16 +51,16 @@ public int getVersion() {
@Override
public byte[] serialize(S3Recoverable obj) throws IOException {
- final List<PartETag> partList = obj.parts();
- final PartETag[] parts = partList.toArray(new
PartETag[partList.size()]);
+ final List<CompletedPart> partList = obj.parts();
+ final CompletedPart[] parts = partList.toArray(new
CompletedPart[partList.size()]);
Review Comment:
```suggestion
final CompletedPart[] parts = partList.toArray(new CompletedPart[0]);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]