git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270484 13f79535-47bb-0310-9956-ffa450edef68master
@@ -17,6 +17,7 @@ import java.net.URLConnection; | |||||
import java.util.Date; | import java.util.Date; | ||||
import org.apache.myrmidon.api.TaskException; | import org.apache.myrmidon.api.TaskException; | ||||
import org.apache.tools.ant.Task; | import org.apache.tools.ant.Task; | ||||
import org.apache.tools.ant.taskdefs.file.Touch; | |||||
/** | /** | ||||
* Get a particular file from a URL source. Options include verbose reporting, | * Get a particular file from a URL source. Options include verbose reporting, | ||||
@@ -126,7 +126,7 @@ public class Touch extends Task | |||||
* | * | ||||
* @exception TaskException Description of Exception | * @exception TaskException Description of Exception | ||||
*/ | */ | ||||
protected void touch() | |||||
public void touch() | |||||
throws TaskException | throws TaskException | ||||
{ | { | ||||
if( file != null ) | if( file != null ) | ||||
@@ -29,7 +29,8 @@ import org.apache.tools.ant.types.FileSet; | |||||
* | * | ||||
* @author <a href="mailto:umagesh@rediffmail.com">Magesh Umasankar</a> | * @author <a href="mailto:umagesh@rediffmail.com">Magesh Umasankar</a> | ||||
*/ | */ | ||||
public class Translate extends MatchingTask | |||||
public class Translate | |||||
extends MatchingTask | |||||
{ | { | ||||
/** | /** | ||||
* ArrayList to hold source file sets. | * ArrayList to hold source file sets. | ||||
@@ -17,6 +17,7 @@ import java.net.URLConnection; | |||||
import java.util.Date; | import java.util.Date; | ||||
import org.apache.myrmidon.api.TaskException; | import org.apache.myrmidon.api.TaskException; | ||||
import org.apache.tools.ant.Task; | import org.apache.tools.ant.Task; | ||||
import org.apache.tools.ant.taskdefs.file.Touch; | |||||
/** | /** | ||||
* Get a particular file from a URL source. Options include verbose reporting, | * Get a particular file from a URL source. Options include verbose reporting, | ||||
@@ -126,7 +126,7 @@ public class Touch extends Task | |||||
* | * | ||||
* @exception TaskException Description of Exception | * @exception TaskException Description of Exception | ||||
*/ | */ | ||||
protected void touch() | |||||
public void touch() | |||||
throws TaskException | throws TaskException | ||||
{ | { | ||||
if( file != null ) | if( file != null ) | ||||
@@ -29,7 +29,8 @@ import org.apache.tools.ant.types.FileSet; | |||||
* | * | ||||
* @author <a href="mailto:umagesh@rediffmail.com">Magesh Umasankar</a> | * @author <a href="mailto:umagesh@rediffmail.com">Magesh Umasankar</a> | ||||
*/ | */ | ||||
public class Translate extends MatchingTask | |||||
public class Translate | |||||
extends MatchingTask | |||||
{ | { | ||||
/** | /** | ||||
* ArrayList to hold source file sets. | * ArrayList to hold source file sets. | ||||