commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1742668 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileObject.java
Date Fri, 06 May 2016 22:34:32 GMT
Author: ggregory
Date: Fri May  6 22:34:32 2016
New Revision: 1742668

URL: http://svn.apache.org/viewvc?rev=1742668&view=rev
Log:
Restore binary compatibility with 2.0.

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

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileObject.java?rev=1742668&r1=1742667&r2=1742668&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/tar/TarFileObject.java
Fri May  6 22:34:32 2016
@@ -31,13 +31,8 @@ import org.apache.commons.vfs2.provider.
  */
 public class TarFileObject extends AbstractFileObject<TarFileSystem>
 {
-    /**
-     * The TarArchiveEntry.
-     * 
-     * @deprecated Consider this field private. Might be made private in the next major version
-     */
-    @Deprecated
-    protected TarArchiveEntry entry;
+    /** The TarArchiveEntry */
+    private TarArchiveEntry entry;
     private final HashSet<String> children = new HashSet<String>();
     private FileType type;
 
@@ -56,8 +51,10 @@ public class TarFileObject extends Abstr
 
     /**
      * Sets the details for this file object.
+     * 
+     * Consider this method package private. TODO Might be made package private in the next
major version. 
      */
-    void setTarEntry(final TarArchiveEntry entry)
+    protected void setTarEntry(final TarArchiveEntry entry)
     {
         if (this.entry != null)
         {



Mime
View raw message