summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/list/compiler.lst1
-rw-r--r--sources/scalac/ast/AbstractTreeCopyFactory.java30
2 files changed, 0 insertions, 31 deletions
diff --git a/config/list/compiler.lst b/config/list/compiler.lst
index ed7d8ae2b0..0b9b0fc791 100644
--- a/config/list/compiler.lst
+++ b/config/list/compiler.lst
@@ -20,7 +20,6 @@ ast/parser/Sourcefile.java
ast/parser/TokenData.java
ast/parser/Tokens.java
-ast/AbstractTreeCopyFactory.java
ast/DefaultTreeFactory.java
ast/LazyTreeCopier.java
ast/StrictTreeCopier.java
diff --git a/sources/scalac/ast/AbstractTreeCopyFactory.java b/sources/scalac/ast/AbstractTreeCopyFactory.java
deleted file mode 100644
index 0a158e14d4..0000000000
--- a/sources/scalac/ast/AbstractTreeCopyFactory.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/* ____ ____ ____ ____ ______ *\
-** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
-** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
-** /_____/\____/\___/\____/____/ **
-** **
-\* */
-
-// $Id$
-
-package scalac.ast;
-
-import scalac.ast.*;
-
-/**
- * Abstract superclass for all TreeCopier, which provides only the
- * code to copy the attribution from the "old" to the "new" tree.
- *
- * @author Michel Schinz
- * @version 1.0
- */
-
-public abstract class AbstractTreeCopier implements TreeCopier {
- public void attribute(Tree newTree, Tree oldTree) {
- if (newTree != oldTree) {
- newTree.type = oldTree.type;
- if (newTree.hasSymbol())
- newTree.setSymbol(oldTree.symbol());
- }
- }
-}