This is an automated email from the ASF dual-hosted git repository.

tilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new 4b3f0a442 TIKA-4181: add deprecated annotation
4b3f0a442 is described below

commit 4b3f0a442c291987a6a2a0f6e155cd9951da63b6
Author: Tilman Hausherr <[email protected]>
AuthorDate: Tue Jul 30 10:14:43 2024 +0200

    TIKA-4181: add deprecated annotation
---
 .../src/main/java/org/apache/tika/pipes/fetcher/s3/S3Fetcher.java        | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/tika-pipes/tika-fetchers/tika-fetcher-s3/src/main/java/org/apache/tika/pipes/fetcher/s3/S3Fetcher.java
 
b/tika-pipes/tika-fetchers/tika-fetcher-s3/src/main/java/org/apache/tika/pipes/fetcher/s3/S3Fetcher.java
index 144f15c01..ab4a139a0 100644
--- 
a/tika-pipes/tika-fetchers/tika-fetcher-s3/src/main/java/org/apache/tika/pipes/fetcher/s3/S3Fetcher.java
+++ 
b/tika-pipes/tika-fetchers/tika-fetcher-s3/src/main/java/org/apache/tika/pipes/fetcher/s3/S3Fetcher.java
@@ -330,6 +330,7 @@ public class S3Fetcher extends AbstractFetcher implements 
Initializable, RangeFe
      * @deprecated use {@link #setThrottleSeconds(String)}
      * @param sleepBeforeRetryMillis -- amount of time in millis to sleep if 
there was a failure
      */
+    @Deprecated
     @Field
     public void setSleepBeforeRetryMillis(long sleepBeforeRetryMillis) {
         LOGGER.info("sleepBeforeRetryMillis is deprecated. Use 
setThrottleSeconds instead");

Reply via email to