Browse Source

really return the group id, not the user id in getGid

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806037 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 16 years ago
parent
commit
67fee4b829
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/types/resources/TarResource.java

+ 2
- 2
src/main/org/apache/tools/ant/types/resources/TarResource.java View File

@@ -142,14 +142,14 @@ public class TarResource extends ArchiveResource {
} }


/** /**
* @return the uid for the tar entry
* @return the gid for the tar entry
*/ */
public int getGid() { public int getGid() {
if (isReference()) { if (isReference()) {
return ((TarResource) getCheckedRef()).getGid(); return ((TarResource) getCheckedRef()).getGid();
} }
checkEntry(); checkEntry();
return uid;
return gid;
} }


/** /**


Loading…
Cancel
Save