Author: tilman
Date: Sun Sep  3 02:56:44 2023
New Revision: 1912064

URL: http://svn.apache.org/viewvc?rev=1912064&view=rev
Log:
PDFBOX-5669: Sonar fix

Modified:
    pdfbox/trunk/io/src/main/java/org/apache/pdfbox/io/IOUtils.java

Modified: pdfbox/trunk/io/src/main/java/org/apache/pdfbox/io/IOUtils.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/io/src/main/java/org/apache/pdfbox/io/IOUtils.java?rev=1912064&r1=1912063&r2=1912064&view=diff
==============================================================================
--- pdfbox/trunk/io/src/main/java/org/apache/pdfbox/io/IOUtils.java (original)
+++ pdfbox/trunk/io/src/main/java/org/apache/pdfbox/io/IOUtils.java Sun Sep  3 
02:56:44 2023
@@ -80,7 +80,7 @@ public final class IOUtils
      * @throws IOException if an I/O error occurs
      * @deprecated use {@link InputStream#readAllBytes()} instead
      */
-    @Deprecated
+    @Deprecated(since="4.0.0", forRemoval=true)
     public static byte[] toByteArray(InputStream in) throws IOException
     {
         return in.readAllBytes();
@@ -94,7 +94,7 @@ public final class IOUtils
      * @throws IOException if an I/O error occurs
      * @deprecated use {@link InputStream#transferTo(OutputStream)} instead
      */
-    @Deprecated
+    @Deprecated(since="4.0.0", forRemoval=true)
     public static long copy(InputStream input, OutputStream output) throws 
IOException
     {
         return input.transferTo(output);
@@ -110,7 +110,7 @@ public final class IOUtils
      * @throws IOException if an I/O error occurs
      * @deprecated use {@link InputStream#readNBytes(byte[], int, int)} or 
{@link InputStream#readNBytes(int)} instead
      */
-    @Deprecated
+    @Deprecated(since="4.0.0", forRemoval=true)
     public static long populateBuffer(InputStream in, byte[] buffer) throws 
IOException
     {
         return in.readNBytes(buffer, 0, buffer.length);


Reply via email to