aboutsummaryrefslogtreecommitdiffstats
path: root/tests/design/intro/Simple.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/design/intro/Simple.java')
-rw-r--r--tests/design/intro/Simple.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/design/intro/Simple.java b/tests/design/intro/Simple.java
index cd995d993..d72b04a17 100644
--- a/tests/design/intro/Simple.java
+++ b/tests/design/intro/Simple.java
@@ -56,10 +56,10 @@ aspect A {
return new C(2).m();
}
- public C.new(String s) { }
+ public C.new(String s) { this(); }
private C.new(int i) {
- Tester.note("new A.C");
+ this(); Tester.note("new A.C");
}
}
@@ -75,6 +75,6 @@ aspect B {
}
private C.new(int i) {
- Tester.note("new B.C");
+ this(); Tester.note("new B.C");
}
}