Skip to content
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

Add arg builder to legal hold APIs #953

Merged
merged 4 commits into from
May 31, 2020
Merged

Conversation

sinhaashish
Copy link
Contributor

No description provided.

Copy link
Contributor

@anjalshireesh anjalshireesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add deprecation annotations and comments in the old methods

api/src/main/java/io/minio/MinioClient.java Show resolved Hide resolved
examples/DisableObjectLegalHold.java Outdated Show resolved Hide resolved
examples/DisableObjectLegalHold.java Outdated Show resolved Hide resolved
examples/EnableObjectLegalHold.java Outdated Show resolved Hide resolved
functional/FunctionalTest.java Show resolved Hide resolved
anjalshireesh
anjalshireesh previously approved these changes May 29, 2020
Copy link
Contributor

@anjalshireesh anjalshireesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from a minor comment about adding javadoc deprecation comment

@@ -4211,18 +4289,66 @@ public void disableObjectLegalHold(String bucketName, String objectName, String
* @throws NoSuchAlgorithmException thrown to indicate missing of MD5 or SHA-256 digest library.
* @throws XmlParserException thrown to indicate XML parsing error.
*/
@Deprecated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'll be good to add the deprecation javadoc comment also along with a link to the new method to be used

anjalshireesh
anjalshireesh previously approved these changes May 30, 2020
Copy link
Contributor

@anjalshireesh anjalshireesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

balamurugana
balamurugana previously approved these changes May 30, 2020
Copy link
Member

@balamurugana balamurugana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kannappanr kannappanr merged commit ad41b8f into minio:master May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants