- Remove useless imports, clean up multiple one. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271168 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -54,7 +54,10 @@ | |||||
| package org.apache.tools.ant.taskdefs.optional.sos; | package org.apache.tools.ant.taskdefs.optional.sos; | ||||
| import java.io.File; | import java.io.File; | ||||
| import org.apache.tools.ant.*; | |||||
| import org.apache.tools.ant.BuildException; | |||||
| import org.apache.tools.ant.Project; | |||||
| import org.apache.tools.ant.Task; | |||||
| import org.apache.tools.ant.taskdefs.Execute; | import org.apache.tools.ant.taskdefs.Execute; | ||||
| import org.apache.tools.ant.taskdefs.LogStreamHandler; | import org.apache.tools.ant.taskdefs.LogStreamHandler; | ||||
| import org.apache.tools.ant.types.Commandline; | import org.apache.tools.ant.types.Commandline; | ||||
| @@ -141,7 +144,7 @@ public abstract class SOS extends Task { | |||||
| * @param dir The new sosCmd value | * @param dir The new sosCmd value | ||||
| */ | */ | ||||
| public final void setSosCmd(String dir) { | public final void setSosCmd(String dir) { | ||||
| sosCmdDir = project.translatePath(dir); | |||||
| sosCmdDir = Project.translatePath(dir); | |||||
| } | } | ||||
| @@ -53,9 +53,8 @@ | |||||
| */ | */ | ||||
| package org.apache.tools.ant.taskdefs.optional.sos; | package org.apache.tools.ant.taskdefs.optional.sos; | ||||
| import org.apache.tools.ant.*; | |||||
| import org.apache.tools.ant.BuildException; | |||||
| import org.apache.tools.ant.types.Commandline; | import org.apache.tools.ant.types.Commandline; | ||||
| import org.apache.tools.ant.types.Path; | |||||
| /** | /** | ||||
| * Task to commit and unlock file(s) in Visual Source Safe via a SourceOffSite server. | * Task to commit and unlock file(s) in Visual Source Safe via a SourceOffSite server. | ||||
| @@ -53,9 +53,8 @@ | |||||
| */ | */ | ||||
| package org.apache.tools.ant.taskdefs.optional.sos; | package org.apache.tools.ant.taskdefs.optional.sos; | ||||
| import org.apache.tools.ant.*; | |||||
| import org.apache.tools.ant.BuildException; | |||||
| import org.apache.tools.ant.types.Commandline; | import org.apache.tools.ant.types.Commandline; | ||||
| import org.apache.tools.ant.types.Path; | |||||
| /** | /** | ||||
| * Task to retreive and lock file(s) in Visual Source Safe via a SourceOffSite server. | * Task to retreive and lock file(s) in Visual Source Safe via a SourceOffSite server. | ||||
| @@ -53,7 +53,7 @@ | |||||
| */ | */ | ||||
| package org.apache.tools.ant.taskdefs.optional.sos; | package org.apache.tools.ant.taskdefs.optional.sos; | ||||
| import org.apache.tools.ant.*; | |||||
| import org.apache.tools.ant.BuildException; | |||||
| import org.apache.tools.ant.types.Commandline; | import org.apache.tools.ant.types.Commandline; | ||||
| /** | /** | ||||
| @@ -53,7 +53,7 @@ | |||||
| */ | */ | ||||
| package org.apache.tools.ant.taskdefs.optional.sos; | package org.apache.tools.ant.taskdefs.optional.sos; | ||||
| import org.apache.tools.ant.*; | |||||
| import org.apache.tools.ant.BuildException; | |||||
| import org.apache.tools.ant.types.Commandline; | import org.apache.tools.ant.types.Commandline; | ||||
| /** | /** | ||||