aboutsummaryrefslogtreecommitdiffstats
path: root/testing/src
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2004-01-07 17:00:52 +0000
committerjhugunin <jhugunin>2004-01-07 17:00:52 +0000
commit97ab1e91dfba52187c14f0f7e5fdf6fafd9966c4 (patch)
tree1758e455c1531ab3a1507ec22ff33cb64ac3286c /testing/src
parentcda2dd4f82306debf0a2c04eb98586fac50cd696 (diff)
downloadaspectj-97ab1e91dfba52187c14f0f7e5fdf6fafd9966c4.tar.gz
aspectj-97ab1e91dfba52187c14f0f7e5fdf6fafd9966c4.zip
fix for Bugzilla Bug 41952
XLint warning for call PCD's using subtype of defining type also added extraSourceLocations to IMessage+ for message with multiple source lines
Diffstat (limited to 'testing/src')
-rw-r--r--testing/src/org/aspectj/testing/xml/SoftMessage.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/src/org/aspectj/testing/xml/SoftMessage.java b/testing/src/org/aspectj/testing/xml/SoftMessage.java
index e798f8f05..f11e55966 100644
--- a/testing/src/org/aspectj/testing/xml/SoftMessage.java
+++ b/testing/src/org/aspectj/testing/xml/SoftMessage.java
@@ -15,6 +15,7 @@
package org.aspectj.testing.xml;
import java.io.File;
+import java.util.Collections;
import java.util.Iterator;
import java.util.List;
@@ -287,4 +288,11 @@ public class SoftMessage implements IMessage { // XXX mutable dup of Message
public void setDetails(String string) {
details = string;
}
+
+ /* (non-Javadoc)
+ * @see org.aspectj.bridge.IMessage#getExtraSourceLocations()
+ */
+ public List getExtraSourceLocations() {
+ return Collections.EMPTY_LIST;
+ }
}