summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-09-26 14:02:33 +0000
committeraclement <aclement>2005-09-26 14:02:33 +0000
commit4afdcf2612e94ce3c07ab0db5b20ea73134ac632 (patch)
tree4976eec596217797967d9780d4ac7d67ddbecc53
parent1c72a494aadef237659a03fe1a958156792ac9a1 (diff)
downloadaspectj-4afdcf2612e94ce3c07ab0db5b20ea73134ac632.tar.gz
aspectj-4afdcf2612e94ce3c07ab0db5b20ea73134ac632.zip
avoid using IdentityHashMap - that doesnt exist < 1.4
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/internal/core/dom/rewrite/AjASTRewriteAnalyzer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/internal/core/dom/rewrite/AjASTRewriteAnalyzer.java b/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/internal/core/dom/rewrite/AjASTRewriteAnalyzer.java
index fb1167b38..5f607289e 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/internal/core/dom/rewrite/AjASTRewriteAnalyzer.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/internal/core/dom/rewrite/AjASTRewriteAnalyzer.java
@@ -11,7 +11,7 @@
package org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite;
import java.util.ArrayList;
-import java.util.IdentityHashMap;
+import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
@@ -92,7 +92,7 @@ public final class AjASTRewriteAnalyzer extends AjASTVisitor {
this.nodeInfos= nodeInfos;
this.tokenScanner= null;
this.currentEdit= rootEdit;
- this.sourceCopyInfoToEdit= new IdentityHashMap();
+ this.sourceCopyInfoToEdit= new HashMap(); /// fixme xxx was IdentityHashMap but that doesnt exist on 1.3 !!!!!!!!
this.sourceCopyEndNodes= new Stack();
this.formatter= new ASTRewriteFormatter(nodeInfos, eventStore, options, TextUtilities.getDefaultLineDelimiter(document));
@@ -3615,7 +3615,7 @@ public final class AjASTRewriteAnalyzer extends AjASTVisitor {
final void handleException(Throwable e) {
IllegalArgumentException runtimeException= new IllegalArgumentException("Document does not match the AST"); //$NON-NLS-1$
- runtimeException.initCause(e);
+ // runtimeException.initCause(e);
throw runtimeException;
}
}