From 67fee4b829d4d7758a9db680c02de8952602341a Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 20 Aug 2009 03:56:27 +0000 Subject: [PATCH] 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 --- .../org/apache/tools/ant/types/resources/TarResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/resources/TarResource.java b/src/main/org/apache/tools/ant/types/resources/TarResource.java index ae618da8c..eae9cf095 100644 --- a/src/main/org/apache/tools/ant/types/resources/TarResource.java +++ b/src/main/org/apache/tools/ant/types/resources/TarResource.java @@ -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() { if (isReference()) { return ((TarResource) getCheckedRef()).getGid(); } checkEntry(); - return uid; + return gid; } /**