Skip to content

Commit

Permalink
fix: BucketArgs.Builder.validate() to accept A type args
Browse files Browse the repository at this point in the history
  • Loading branch information
balamurugana committed May 19, 2020
1 parent 9ba2dd1 commit 6ef97e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/io/minio/BucketArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private void validateRegion(String region) {
}

@Override
protected void validate(BucketArgs args) {
protected void validate(A args) {
validateName(args.bucketName);
validateRegion(args.region);
}
Expand Down

0 comments on commit 6ef97e3

Please sign in to comment.