Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 42274 invoked from network); 19 Aug 2009 04:17:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 04:17:13 -0000 Received: (qmail 20245 invoked by uid 500); 19 Aug 2009 04:17:32 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 20167 invoked by uid 500); 19 Aug 2009 04:17:32 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 20153 invoked by uid 99); 19 Aug 2009 04:17:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 04:17:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 04:17:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 721BB238889D; Wed, 19 Aug 2009 04:17:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r805659 - /ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/ArchiveBase.java Date: Wed, 19 Aug 2009 04:17:06 -0000 To: notifications@ant.apache.org From: bodewig@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090819041706.721BB238889D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Wed Aug 19 04:17:05 2009 New Revision: 805659 URL: http://svn.apache.org/viewvc?rev=805659&view=rev Log: prefix and fullpath are empty strings by default Modified: ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/ArchiveBase.java Modified: ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/ArchiveBase.java URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/ArchiveBase.java?rev=805659&r1=805658&r2=805659&view=diff ============================================================================== --- ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/ArchiveBase.java (original) +++ ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/ArchiveBase.java Wed Aug 19 04:17:05 2009 @@ -553,10 +553,14 @@ public boolean hasDirModeBeenSet() { return dirMode >= 0; } public int getDirMode() { return dirMode; } - public boolean hasPrefix() { return prefix != null; } + public boolean hasPrefix() { + return prefix != null && !"".equals(prefix); + } public String getPrefix() { return prefix; } - public boolean hasFullpath() { return fullpath != null; } + public boolean hasFullpath() { + return fullpath != null && !"".equals(fullpath); + } public String getFullpath() { return fullpath; } }