summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/examples/coverage/ModelCoverage.java
diff options
context:
space:
mode:
Diffstat (limited to 'ajde/testdata/examples/coverage/ModelCoverage.java')
-rw-r--r--ajde/testdata/examples/coverage/ModelCoverage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ajde/testdata/examples/coverage/ModelCoverage.java b/ajde/testdata/examples/coverage/ModelCoverage.java
index bb977e36c..51fb54b89 100644
--- a/ajde/testdata/examples/coverage/ModelCoverage.java
+++ b/ajde/testdata/examples/coverage/ModelCoverage.java
@@ -107,7 +107,7 @@ aspect DeclareCoverage {
pointcut illegalNewFigElt(): call(Point.new(..)) && !withincode(* *.doIt(..));
declare error: illegalNewFigElt(): "Illegal constructor call.";
- declare warning: illegalNewFigElt(): "Illegal constructor call.";
+ declare warning: call(* Point.setX(..)): "Illegal call.";
declare parents: Point extends java.io.Serializable;
declare parents: Point+ implements java.util.Observable;