ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [04/12] ant git commit: DataType already implements Cloneable
Date Wed, 21 Dec 2016 15:59:53 GMT
DataType already implements Cloneable


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/3e235a8f
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/3e235a8f
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/3e235a8f

Branch: refs/heads/master
Commit: 3e235a8f5ac5ea6421ab0c5565f45444f387c667
Parents: 0d64816
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Wed Dec 21 15:47:51 2016 +0100
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Wed Dec 21 16:00:42 2016 +0100

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/types/AntFilterReader.java | 3 +--
 src/main/org/apache/tools/ant/types/FilterChain.java     | 3 +--
 src/main/org/apache/tools/ant/types/Mapper.java          | 2 +-
 src/main/org/apache/tools/ant/types/XMLCatalog.java      | 2 +-
 4 files changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/3e235a8f/src/main/org/apache/tools/ant/types/AntFilterReader.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/types/AntFilterReader.java b/src/main/org/apache/tools/ant/types/AntFilterReader.java
index 20c41bc..bdc1c31 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;
 

http://git-wip-us.apache.org/repos/asf/ant/blob/3e235a8f/src/main/org/apache/tools/ant/types/FilterChain.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/types/FilterChain.java b/src/main/org/apache/tools/ant/types/FilterChain.java
index b495a5a..da7d967 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>();
 

http://git-wip-us.apache.org/repos/asf/ant/blob/3e235a8f/src/main/org/apache/tools/ant/types/Mapper.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/types/Mapper.java b/src/main/org/apache/tools/ant/types/Mapper.java
index 941e8dd..c02e782 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;

http://git-wip-us.apache.org/repos/asf/ant/blob/3e235a8f/src/main/org/apache/tools/ant/types/XMLCatalog.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/types/XMLCatalog.java b/src/main/org/apache/tools/ant/types/XMLCatalog.java
index bd9be43..2edd5a1 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();


Mime
View raw message