aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten <mkersten>2003-07-29 10:52:59 +0000
committermkersten <mkersten>2003-07-29 10:52:59 +0000
commitd203b7fbc03f2a4d6845baeaa653dba6c6e4d55f (patch)
treeeb46fb98885677de8fd9d61408dc41075221267e
parentd5a63db3a0bfca32ef54e82685179894db10c327 (diff)
downloadaspectj-d203b7fbc03f2a4d6845baeaa653dba6c6e4d55f.tar.gz
aspectj-d203b7fbc03f2a4d6845baeaa653dba6c6e4d55f.zip
Deprecated singleton API.
-rw-r--r--asm/src/org/aspectj/asm/StructureModelManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/asm/src/org/aspectj/asm/StructureModelManager.java b/asm/src/org/aspectj/asm/StructureModelManager.java
index 59f32b98d..1464a1eaf 100644
--- a/asm/src/org/aspectj/asm/StructureModelManager.java
+++ b/asm/src/org/aspectj/asm/StructureModelManager.java
@@ -25,9 +25,9 @@ import org.aspectj.bridge.ISourceLocation;
public class StructureModelManager {
/**
- * Singleton instance.
- */
- private static StructureModelManager INSTANCE = new StructureModelManager();
+ * @deprecated use getDefault() method instead
+ */
+ public static StructureModelManager INSTANCE = new StructureModelManager();
private boolean shouldSaveModel = true;
protected StructureModel model = new StructureModel();
private List structureListeners = new ArrayList();