Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"http://s3.amazonaws.com/doc/2006-03-01/")
public class CompleteMultipartUploadRequest {

@XmlElement(name = "Part")
@XmlElement(name = "Part", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private List<Part> partList = new ArrayList<>();

public List<Part> getPartList() {
Expand All @@ -51,10 +51,10 @@ public void setPartList(List<Part> partList) {
@XmlRootElement(name = "Part")
public static class Part {

@XmlElement(name = "PartNumber")
@XmlElement(name = "PartNumber", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private int partNumber;

@XmlElement(name = OzoneConsts.ETAG)
@XmlElement(name = OzoneConsts.ETAG, namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private String eTag;

public int getPartNumber() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
+ ".com/doc/2006-03-01/")
public class MultiDeleteRequest {

@XmlElement(name = "Quiet")
@XmlElement(name = "Quiet", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private Boolean quiet = Boolean.FALSE;

@XmlElement(name = "Object")
@XmlElement(name = "Object", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private List<DeleteObject> objects = new ArrayList<>();

public boolean isQuiet() {
Expand Down Expand Up @@ -64,10 +64,10 @@ public void setObjects(
+ ".com/doc/2006-03-01/")
public static class DeleteObject {

@XmlElement(name = "Key")
@XmlElement(name = "Key", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private String key;

@XmlElement(name = "VersionId")
@XmlElement(name = "VersionId", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private String versionId;

public DeleteObject() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
public class S3BucketAcl {

@XmlElement(name = "Owner")
@XmlElement(name = "Owner", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private S3Owner owner;

@XmlElement(name = "AccessControlList")
@XmlElement(name = "AccessControlList", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private AccessControlList aclList;

public S3Owner getOwner() {
Expand Down Expand Up @@ -71,7 +71,7 @@ public String toString() {
@XmlRootElement(name = "AccessControlList")
public static class AccessControlList {

@XmlElement(name = "Grant")
@XmlElement(name = "Grant", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private List<Grant> grantList = new ArrayList<>();

public void addGrant(Grant grant) {
Expand Down Expand Up @@ -105,10 +105,10 @@ public String toString() {
@XmlRootElement(name = "Grant")
public static class Grant {

@XmlElement(name = "Grantee")
@XmlElement(name = "Grantee", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private Grantee grantee;

@XmlElement(name = "Permission")
@XmlElement(name = "Permission", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private String permission;

public String getPermission() {
Expand Down Expand Up @@ -162,10 +162,10 @@ public int hashCode() {
@XmlRootElement(name = "Grantee")
public static class Grantee {

@XmlElement(name = "DisplayName")
@XmlElement(name = "DisplayName", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private String displayName;

@XmlElement(name = "ID")
@XmlElement(name = "ID", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private String id;

@XmlAttribute(name = "xsi:type")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
public class S3Tagging {

@XmlElement(name = "TagSet")
@XmlElement(name = "TagSet", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private TagSet tagSet;

public S3Tagging() {
Expand All @@ -59,7 +59,7 @@ public void setTagSet(TagSet tagSet) {
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "TagSet")
public static class TagSet {
@XmlElement(name = "Tag")
@XmlElement(name = "Tag", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private List<Tag> tags = new ArrayList<>();

public TagSet() {
Expand All @@ -84,10 +84,10 @@ public void setTags(List<Tag> tags) {
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Tag")
public static class Tag {
@XmlElement(name = "Key")
@XmlElement(name = "Key", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private String key;

@XmlElement(name = "Value")
@XmlElement(name = "Value", namespace = "http://s3.amazonaws.com/doc/2006-03-01/")
private String value;

public Tag() {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<maven-assembly-plugin.version>3.7.1</maven-assembly-plugin.version>
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
<maven-clean-plugin.version>3.4.0</maven-clean-plugin.version>
<maven-compiler-plugin.version>3.9.0</maven-compiler-plugin.version>
<maven-compiler-plugin.version>3.10.0</maven-compiler-plugin.version>
Comment thread
adoroszlai marked this conversation as resolved.
Outdated
<maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version>
<maven-deploy-plugin.version>3.1.3</maven-deploy-plugin.version>
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
Expand Down