ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r806037 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/TarResource.java
Date Thu, 20 Aug 2009 03:56:27 GMT
Author: bodewig
Date: Thu Aug 20 03:56:27 2009
New Revision: 806037

URL: http://svn.apache.org/viewvc?rev=806037&view=rev
Log:
really return the group id, not the user id in getGid

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/types/resources/TarResource.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/resources/TarResource.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/TarResource.java?rev=806037&r1=806036&r2=806037&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/resources/TarResource.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/resources/TarResource.java Thu Aug
20 03:56:27 2009
@@ -142,14 +142,14 @@
     }
 
     /**
-     * @return the uid for the tar entry
+     * @return the gid for the tar entry
      */
     public int getGid() {
         if (isReference()) {
             return ((TarResource) getCheckedRef()).getGid();
         }
         checkEntry();
-        return uid;
+        return gid;
     }
 
     /**



Mime
View raw message