From ac36f9cdf206a513585b17336a80e9e5cf6065fc Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 23 Apr 2003 09:20:06 +0000 Subject: [PATCH] gutted. Should be removed once we've confirmed that it can safely be removed. (not sure if CVS keeps history across file removal/add). (tests run fine, no apparant clients) --- .../runtime/internal/PerObjectMap.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/runtime/src/org/aspectj/runtime/internal/PerObjectMap.java b/runtime/src/org/aspectj/runtime/internal/PerObjectMap.java index 4b6caaf9b..d11de0a99 100644 --- a/runtime/src/org/aspectj/runtime/internal/PerObjectMap.java +++ b/runtime/src/org/aspectj/runtime/internal/PerObjectMap.java @@ -14,18 +14,18 @@ package org.aspectj.runtime.internal; -import java.util.WeakHashMap; // XXX REQUIRES JAVA 2!!!!!!!!!!!!!!!! +//import java.util.WeakHashMap; // XXX REQUIRES JAVA 2!!!!!!!!!!!!!!!! public class PerObjectMap { - private WeakHashMap map = new WeakHashMap(); - - public boolean hasAspect(Object o) { return map.containsKey(o); } - - public Object aspectOf(Object o) { - return map.get(o); - } - - public void bind(Object object, Object _aspect) { - map.put(object, _aspect); - } +// private WeakHashMap map = new WeakHashMap(); +// +// public boolean hasAspect(Object o) { return map.containsKey(o); } +// +// public Object aspectOf(Object o) { +// return map.get(o); +// } +// +// public void bind(Object object, Object _aspect) { +// map.put(object, _aspect); +// } } -- 2.39.5