aboutsummaryrefslogtreecommitdiffstats
path: root/testing/src
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-06-09 15:57:10 +0000
committerwisberg <wisberg>2005-06-09 15:57:10 +0000
commit6b4238eb0f0871eae60d71fe596c96c2ae5dce76 (patch)
tree7757f5e169ad0e12fa4401864dee398e4035bdbb /testing/src
parente0e3389181b6ca1a88ed12e988abd4d4eb533ddd (diff)
downloadaspectj-6b4238eb0f0871eae60d71fe596c96c2ae5dce76.tar.gz
aspectj-6b4238eb0f0871eae60d71fe596c96c2ae5dce76.zip
unused imports (only)
Diffstat (limited to 'testing/src')
-rw-r--r--testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java b/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java
index 28912a026..8e13e5778 100644
--- a/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java
+++ b/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java
@@ -471,14 +471,17 @@ public class AjcSpecXmlReader {
String publicId,
String systemId)
throws SAXException {
+ InputSource result = null;
if ((null != systemId) &&
systemId.endsWith(NAME)) {
String path = getPath(systemId);
if (null != path) {
- return new InputSource(path);
+ result = new InputSource(path);
+ result.setSystemId(path);
+ result.setPublicId(path);
}
}
- return null;
+ return result;
}
}
}