From 97ab1e91dfba52187c14f0f7e5fdf6fafd9966c4 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Wed, 7 Jan 2004 17:00:52 +0000 Subject: 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 --- testing/src/org/aspectj/testing/xml/SoftMessage.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'testing/src') 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; + } } -- cgit v1.2.3