commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1036308 - in /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider: ram/RamFileRandomAccessContent.java tar/TarEntry.java
Date Thu, 18 Nov 2010 01:20:40 GMT
Author: rgoers
Date: Thu Nov 18 01:20:40 2010
New Revision: 1036308

URL: http://svn.apache.org/viewvc?rev=1036308&view=rev
Log:
Remove deprecated methods. Remove @author tags from methods

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarEntry.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java?rev=1036308&r1=1036307&r2=1036308&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java
Thu Nov 18 01:20:40 2010
@@ -401,9 +401,7 @@ public class RamFileRandomAccessContent 
     /**
      * Build a long from first 8 bytes of the array.
      *
-     * @author Apache-Commons-Id Team
-     * @param b
-     *            The byte[] to convert.
+     * @param b The byte[] to convert.
      * @return A long.
      */
     public static long toLong(byte[] b)
@@ -420,12 +418,8 @@ public class RamFileRandomAccessContent 
      * Build a 8-byte array from a long. No check is performed on the array
      * length.
      *
-     * @author Commons-Id Team
-     *
-     * @param n
-     *            The number to convert.
-     * @param b
-     *            The array to fill.
+     * @param n The number to convert.
+     * @param b The array to fill.
      * @return A byte[].
      */
     public static byte[] toBytes(long n, byte[] b)
@@ -450,10 +444,7 @@ public class RamFileRandomAccessContent 
 
     /**
      * Build a short from first 2 bytes of the array.
-     *
-     * @author Apache-Commons-Id Team
-     * @param b
-     *            The byte[] to convert.
+     * @param b The byte[] to convert.
      * @return A short.
      */
     public static short toShort(byte[] b)
@@ -464,9 +455,7 @@ public class RamFileRandomAccessContent 
     /**
      * Build a short from first 2 bytes of the array.
      *
-     * @author Apache-Commons-Id Team
-     * @param b
-     *            The byte[] to convert.
+     * @param b The byte[] to convert.
      * @return A short.
      */
     public static int toUnsignedShort(byte[] b)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarEntry.java?rev=1036308&r1=1036307&r2=1036308&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarEntry.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarEntry.java
Thu Nov 18 01:20:40 2010
@@ -295,19 +295,6 @@ class TarEntry
     }
 
     /**
-     * Set this entry's group id.
-     *
-     * @param groupId This entry's new group id.
-     * @see #setGroupID(int)
-     * @deprecated Use setGroupID() instead
-     */
-    @Deprecated
-    public void setGroupId(final int groupId)
-    {
-        groupID = groupId;
-    }
-
-    /**
      * Set this entry's group name.
      *
      * @param groupName This entry's new group name.
@@ -379,19 +366,6 @@ class TarEntry
     }
 
     /**
-     * Set this entry's user id.
-     *
-     * @param userId This entry's new user id.
-     * @see #setUserID(int)
-     * @deprecated Use setUserID() instead
-     */
-    @Deprecated
-    public void setUserId(final int userId)
-    {
-        userID = userId;
-    }
-
-    /**
      * Set this entry's user name.
      *
      * @param userName This entry's new user name.
@@ -439,19 +413,6 @@ class TarEntry
      * Get this entry's group id.
      *
      * @return This entry's group id.
-     * @see #getGroupID()
-     * @deprecated Use getGroupID() instead
-     */
-    @Deprecated
-    public int getGroupId()
-    {
-        return groupID;
-    }
-
-    /**
-     * Get this entry's group id.
-     *
-     * @return This entry's group id.
      */
     public int getGroupID()
     {
@@ -522,19 +483,6 @@ class TarEntry
      * Get this entry's user id.
      *
      * @return This entry's user id.
-     * @see #getUserID()
-     * @deprecated Use getUserID() instead
-     */
-    @Deprecated
-    public int getUserId()
-    {
-        return userID;
-    }
-
-    /**
-     * Get this entry's user id.
-     *
-     * @return This entry's user id.
      */
     public int getUserID()
     {



Mime
View raw message