diff options
author | Stefan Bodewig <bodewig@apache.org> | 2016-12-21 15:47:51 +0100 |
---|---|---|
committer | Stefan Bodewig <bodewig@apache.org> | 2016-12-21 16:00:42 +0100 |
commit | 3e235a8f5ac5ea6421ab0c5565f45444f387c667 (patch) | |
tree | 6636a65522a8a34cac653558d912b48eace1f650 /src | |
parent | 0d648167bcf6eb4384ab04f7b9d63494208b85b6 (diff) | |
download | ant-3e235a8f5ac5ea6421ab0c5565f45444f387c667.tar.gz |
DataType already implements Cloneable
Diffstat (limited to 'src')
4 files changed, 4 insertions, 6 deletions
diff --git a/src/main/org/apache/tools/ant/types/AntFilterReader.java b/src/main/org/apache/tools/ant/types/AntFilterReader.java index 20c41bc70..bdc1c316f 100644 --- a/src/main/org/apache/tools/ant/types/AntFilterReader.java +++ b/src/main/org/apache/tools/ant/types/AntFilterReader.java @@ -27,8 +27,7 @@ import org.apache.tools.ant.Project; * An AntFilterReader is a wrapper class that encloses the classname * and configuration of a Configurable FilterReader. */ -public final class AntFilterReader - extends DataType implements Cloneable { +public final class AntFilterReader extends DataType { private String className; diff --git a/src/main/org/apache/tools/ant/types/FilterChain.java b/src/main/org/apache/tools/ant/types/FilterChain.java index b495a5a32..da7d96716 100644 --- a/src/main/org/apache/tools/ant/types/FilterChain.java +++ b/src/main/org/apache/tools/ant/types/FilterChain.java @@ -45,8 +45,7 @@ import org.apache.tools.ant.filters.TokenFilter; * FilterChain may contain a chained set of filter readers. * */ -public class FilterChain extends DataType - implements Cloneable { +public class FilterChain extends DataType { private Vector<Object> filterReaders = new Vector<Object>(); diff --git a/src/main/org/apache/tools/ant/types/Mapper.java b/src/main/org/apache/tools/ant/types/Mapper.java index 941e8dd8c..c02e78207 100644 --- a/src/main/org/apache/tools/ant/types/Mapper.java +++ b/src/main/org/apache/tools/ant/types/Mapper.java @@ -30,7 +30,7 @@ import org.apache.tools.ant.util.FileNameMapper; * Element to define a FileNameMapper. * */ -public class Mapper extends DataType implements Cloneable { +public class Mapper extends DataType { // CheckStyle:VisibilityModifier OFF - bc protected MapperType type = null; diff --git a/src/main/org/apache/tools/ant/types/XMLCatalog.java b/src/main/org/apache/tools/ant/types/XMLCatalog.java index bd9be4312..2edd5a136 100644 --- a/src/main/org/apache/tools/ant/types/XMLCatalog.java +++ b/src/main/org/apache/tools/ant/types/XMLCatalog.java @@ -119,7 +119,7 @@ import org.xml.sax.XMLReader; * */ public class XMLCatalog extends DataType - implements Cloneable, EntityResolver, URIResolver { + implements EntityResolver, URIResolver { /** helper for some File.toURL connversions */ private static final FileUtils FILE_UTILS = FileUtils.getFileUtils(); |