Browse Source

Cosmetic touchups

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270939 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
58083da2a7
2 changed files with 10 additions and 10 deletions
  1. +5
    -5
      proposal/myrmidon/src/main/org/apache/tools/ant/types/ZipScanner.java
  2. +5
    -5
      proposal/myrmidon/src/todo/org/apache/tools/ant/types/ZipScanner.java

+ 5
- 5
proposal/myrmidon/src/main/org/apache/tools/ant/types/ZipScanner.java View File

@@ -26,7 +26,7 @@ public class ZipScanner
/** /**
* The zip file which should be scanned. * 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 * 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 * @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() 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; return result;
} }




+ 5
- 5
proposal/myrmidon/src/todo/org/apache/tools/ant/types/ZipScanner.java View File

@@ -26,7 +26,7 @@ public class ZipScanner
/** /**
* The zip file which should be scanned. * 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 * 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 * @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() 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; return result;
} }




Loading…
Cancel
Save