Skip to content

Commit

Permalink
fix: make owner field optional in Item class.
Browse files Browse the repository at this point in the history
Fixes #920
  • Loading branch information
balamurugana committed May 4, 2020
1 parent e5712e7 commit c7a63a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/io/minio/messages/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Item {
@Element(name = "StorageClass")
private String storageClass;

@Element(name = "Owner")
@Element(name = "Owner", required = false)
private Owner owner;

@Element(name = "UserMetadata", required = false)
Expand Down

0 comments on commit c7a63a0

Please sign in to comment.