From 58083da2a7baafe86f8e8bb21c3d3735381b9bec Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 27 Jan 2002 09:56:31 +0000 Subject: [PATCH] Cosmetic touchups git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270939 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/org/apache/tools/ant/types/ZipScanner.java | 10 +++++----- .../todo/org/apache/tools/ant/types/ZipScanner.java | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/proposal/myrmidon/src/main/org/apache/tools/ant/types/ZipScanner.java b/proposal/myrmidon/src/main/org/apache/tools/ant/types/ZipScanner.java index c6e734ab0..01979e711 100644 --- a/proposal/myrmidon/src/main/org/apache/tools/ant/types/ZipScanner.java +++ b/proposal/myrmidon/src/main/org/apache/tools/ant/types/ZipScanner.java @@ -26,7 +26,7 @@ public class ZipScanner /** * The zip file which should be scanned. */ - private File m_srcFile; + private File m_src; /** * Sets the srcFile for scanning. This is the jar or zip file that is @@ -34,9 +34,9 @@ public class ZipScanner * * @param srcFile the (non-null) zip file name for scanning */ - public void setSrc( File srcFile ) + public void setSrc( final File srcFile ) { - this.m_srcFile = srcFile; + m_src = srcFile; } /** @@ -58,8 +58,8 @@ public class ZipScanner */ public String[] getIncludedFiles() { - String[] result = new String[ 1 ]; - result[ 0 ] = m_srcFile.getAbsolutePath(); + final String[] result = new String[ 1 ]; + result[ 0 ] = m_src.getAbsolutePath(); return result; } diff --git a/proposal/myrmidon/src/todo/org/apache/tools/ant/types/ZipScanner.java b/proposal/myrmidon/src/todo/org/apache/tools/ant/types/ZipScanner.java index c6e734ab0..01979e711 100644 --- a/proposal/myrmidon/src/todo/org/apache/tools/ant/types/ZipScanner.java +++ b/proposal/myrmidon/src/todo/org/apache/tools/ant/types/ZipScanner.java @@ -26,7 +26,7 @@ public class ZipScanner /** * The zip file which should be scanned. */ - private File m_srcFile; + private File m_src; /** * Sets the srcFile for scanning. This is the jar or zip file that is @@ -34,9 +34,9 @@ public class ZipScanner * * @param srcFile the (non-null) zip file name for scanning */ - public void setSrc( File srcFile ) + public void setSrc( final File srcFile ) { - this.m_srcFile = srcFile; + m_src = srcFile; } /** @@ -58,8 +58,8 @@ public class ZipScanner */ public String[] getIncludedFiles() { - String[] result = new String[ 1 ]; - result[ 0 ] = m_srcFile.getAbsolutePath(); + final String[] result = new String[ 1 ]; + result[ 0 ] = m_src.getAbsolutePath(); return result; }