commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1032004 - in /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider: AbstractFileObject.java AbstractRandomAccessContent.java http/ThreadLocalHttpConnectionManager.java tar/TarEntry.java
Date Sat, 06 Nov 2010 11:21:52 GMT
Author: sebb
Date: Sat Nov  6 11:21:51 2010
New Revision: 1032004

URL: http://svn.apache.org/viewvc?rev=1032004&view=rev
Log:
Add @deprecated markers

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractRandomAccessContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java?rev=1032004&r1=1032003&r2=1032004&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractFileObject.java
Sat Nov  6 11:21:51 2010
@@ -279,6 +279,7 @@ public abstract class AbstractFileObject
      *
      * @deprecated use {@link #doSetLastModTime}
      */
+    @Deprecated
     protected void doSetLastModifiedTime(final long modtime)
         throws Exception
     {
@@ -1577,6 +1578,7 @@ public abstract class AbstractFileObject
      *
      * @deprecated use {@link #childrenChanged(FileName,FileType)}
      */
+    @Deprecated
     protected void childrenChanged() throws Exception
     {
         childrenChanged(null, null);

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractRandomAccessContent.java?rev=1032004&r1=1032003&r2=1032004&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractRandomAccessContent.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/AbstractRandomAccessContent.java
Sat Nov  6 11:21:51 2010
@@ -113,6 +113,7 @@ public abstract class AbstractRandomAcce
      * @return The line as a String.
      * @throws IOException if an error occurs.
      */
+    @Deprecated
     public String readLine() throws IOException
     {
         throw new UnsupportedOperationException("deprecated");

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java?rev=1032004&r1=1032003&r2=1032004&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/ThreadLocalHttpConnectionManager.java
Sat Nov  6 11:21:51 2010
@@ -231,6 +231,7 @@ public class ThreadLocalHttpConnectionMa
      * @see HttpConnectionManager#getConnection(HostConfiguration, long)
      * @deprecated Use #getConnectionWithTimeout(HostConfiguration, long)
      */
+    @Deprecated
     public HttpConnection getConnection(
         HostConfiguration hostConfiguration, long timeout)
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java?rev=1032004&r1=1032003&r2=1032004&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/tar/TarEntry.java
Sat Nov  6 11:21:51 2010
@@ -303,6 +303,7 @@ class TarEntry
      * @see #setGroupID(int)
      * @deprecated Use setGroupID() instead
      */
+    @Deprecated
     public void setGroupId(final int groupId)
     {
         groupID = groupId;
@@ -386,6 +387,7 @@ class TarEntry
      * @see #setUserID(int)
      * @deprecated Use setUserID() instead
      */
+    @Deprecated
     public void setUserId(final int userId)
     {
         userID = userId;
@@ -442,6 +444,7 @@ class TarEntry
      * @see #getGroupID()
      * @deprecated Use getGroupID() instead
      */
+    @Deprecated
     public int getGroupId()
     {
         return groupID;
@@ -524,6 +527,7 @@ class TarEntry
      * @see #getUserID()
      * @deprecated Use getUserID() instead
      */
+    @Deprecated
     public int getUserId()
     {
         return userID;



Mime
View raw message