Browse Source

Remove unused imports from testcases

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@374475 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 19 years ago
parent
commit
10910b1417
3 changed files with 10 additions and 10 deletions
  1. +7
    -4
      src/testcases/org/apache/tools/ant/taskdefs/FixCrLfTest.java
  2. +2
    -3
      src/testcases/org/apache/tools/ant/taskdefs/ManifestTest.java
  3. +1
    -3
      src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java

+ 7
- 4
src/testcases/org/apache/tools/ant/taskdefs/FixCrLfTest.java View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2001-2005 The Apache Software Foundation
* Copyright 2001-2006 The Apache Software Foundation
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -17,12 +17,15 @@


package org.apache.tools.ant.taskdefs; package org.apache.tools.ant.taskdefs;


import java.io.*;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;


import junit.framework.AssertionFailedError; import junit.framework.AssertionFailedError;

import org.apache.tools.ant.BuildFileTest; import org.apache.tools.ant.BuildFileTest;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.util.JavaEnvUtils;


/** /**
*/ */


+ 2
- 3
src/testcases/org/apache/tools/ant/taskdefs/ManifestTest.java View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2001-2002,2004 The Apache Software Foundation
* Copyright 2001-2002,2004,2006 The Apache Software Foundation
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -20,9 +20,8 @@ package org.apache.tools.ant.taskdefs;
import java.io.File; import java.io.File;
import java.io.FileReader; import java.io.FileReader;
import java.io.IOException; import java.io.IOException;
import java.util.Date;
import java.util.Vector;
import java.util.Enumeration; import java.util.Enumeration;

import org.apache.tools.ant.BuildFileTest; import org.apache.tools.ant.BuildFileTest;
import org.apache.tools.ant.Project; import org.apache.tools.ant.Project;




+ 1
- 3
src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2003-2005 The Apache Software Foundation
* Copyright 2003-2006 The Apache Software Foundation
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -28,10 +28,8 @@ import org.apache.commons.net.ftp.FTPClient;
import org.apache.tools.ant.BuildEvent; import org.apache.tools.ant.BuildEvent;
import org.apache.tools.ant.BuildException; import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.BuildFileTest; import org.apache.tools.ant.BuildFileTest;
import org.apache.tools.ant.ComponentHelper;
import org.apache.tools.ant.DefaultLogger; import org.apache.tools.ant.DefaultLogger;
import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.ant.DirectoryScanner;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.taskdefs.condition.Os; import org.apache.tools.ant.taskdefs.condition.Os;
import org.apache.tools.ant.types.FileSet; import org.apache.tools.ant.types.FileSet;
import org.apache.tools.ant.util.RetryHandler; import org.apache.tools.ant.util.RetryHandler;


Loading…
Cancel
Save