-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix generic types on Return type for s3 waiters #1639
Conversation
@@ -50,7 +50,7 @@ public AmazonS3Waiters(AmazonS3 client) { | |||
* entered the desired state or not, where polling criteria is bound by | |||
* either default polling strategy or custom polling strategy. | |||
*/ | |||
public Waiter bucketNotExists() { | |||
public Waiter<HeadBucketRequest> bucketNotExists() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we all add the generic parameters for the acceptors? (Like HttpFailureStatusAcceptor<HeadBucketResult>
?)
I pushed the changes for the |
What's the error? |
I get |
Hmm, I think this actually safe so that should fine; we don't depend on the the type of the temporary array. |
Okay, is there anything else I can do? |
Merged, thanks for the contribution! |
No description provided.