summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr117681/MoodIndicator.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150/pr117681/MoodIndicator.java')
-rw-r--r--tests/bugs150/pr117681/MoodIndicator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs150/pr117681/MoodIndicator.java b/tests/bugs150/pr117681/MoodIndicator.java
index ec420ad86..c6e47e1f3 100644
--- a/tests/bugs150/pr117681/MoodIndicator.java
+++ b/tests/bugs150/pr117681/MoodIndicator.java
@@ -23,8 +23,8 @@ public class MoodIndicator {
// here is the actual ITD syntax when using @AspectJ
// public static is mandatory
// the field type must be the introduced interface. It can't be a class.
- @DeclareParents("C")
- public static Moody introduced = new MoodyImpl();
+ @DeclareParents(value="C", defaultImpl=MoodyImpl.class)
+ Moody introduced;
// @Before("execution(* *.*(..)) && this(m)")
// public void feelingMoody(Moody m) {