Skip to content

Commit

Permalink
Add deprecation comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sinhaashish committed May 29, 2020
1 parent 69e4ac8 commit 57b1310
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions api/src/main/java/io/minio/MinioClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2120,10 +2120,7 @@ public void getObject(
* .build());
* }</pre>
*
* @param args Object of {@link GetObjectArgs}
* @param objectName Object name in the bucket.
* @param ssec SSE-C type server-side encryption.
* @param fileName Name of the file.
* @param args Object of {@link DownloadObjectArgs}
* @throws ErrorResponseException thrown to indicate S3 service returned an error response.
* @throws IllegalArgumentException throws to indicate invalid argument passed.
* @throws InsufficientDataException thrown to indicate not enough data available in InputStream.
Expand Down Expand Up @@ -3734,6 +3731,7 @@ public void makeBucket(MakeBucketArgs args)
* @throws IOException thrown to indicate I/O error on S3 operation.
* @throws NoSuchAlgorithmException thrown to indicate missing of MD5 or SHA-256 digest library.
* @throws XmlParserException thrown to indicate XML parsing error.
* @deprecated use {@link #enableVersioning(EnableVersioningArgs)}
*/
@Deprecated
public void enableVersioning(String bucketName)
Expand Down Expand Up @@ -3796,6 +3794,7 @@ public void enableVersioning(EnableVersioningArgs args)
* @throws IOException thrown to indicate I/O error on S3 operation.
* @throws NoSuchAlgorithmException thrown to indicate missing of MD5 or SHA-256 digest library.
* @throws XmlParserException thrown to indicate XML parsing error.
* @deprecated use {@link #disableVersioning(DisableVersioningArgs)}
*/
@Deprecated
public void disableVersioning(String bucketName)
Expand Down

0 comments on commit 57b1310

Please sign in to comment.