summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/deployment
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-08 13:36:27 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-08 13:36:27 +0000
commitf7c01911f4b2e942c2220be7a1df1f502966f34d (patch)
tree905a56b26cf2bbe2077cded13a73d6bd0e8d99a0 /sca-java-2.x/trunk/modules/deployment
parente9641e1c65b5c6754f2a621728f46a34c93b119f (diff)
As a trial to see if we can rule out the tuscany eclipse compiler causing the too many open files problem on Hudson try changing to use the regular maven compiler
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931936 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/deployment')
-rw-r--r--sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java b/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java
index f65371ac5f..a510219501 100644
--- a/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java
+++ b/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java
@@ -507,7 +507,7 @@ public class DeployerImpl implements Deployer {
return (T)model;
}
- public <T> T loadXMLDocument(URL document, Monitor monitor) throws XMLStreamException, ContributionReadException {
+ public Object loadXMLDocument(URL document, Monitor monitor) throws XMLStreamException, ContributionReadException {
init();
XMLStreamReader reader = staxHelper.createXMLStreamReader(document);
reader.nextTag();
@@ -533,13 +533,13 @@ public class DeployerImpl implements Deployer {
}
@SuppressWarnings("unchecked")
- public <T> T loadXMLElement(XMLStreamReader reader, Monitor monitor) throws ContributionReadException,
+ public Object loadXMLElement(XMLStreamReader reader, Monitor monitor) throws ContributionReadException,
XMLStreamException {
init();
- return (T)staxProcessor.read(reader, new ProcessorContext(monitor));
+ return staxProcessor.read(reader, new ProcessorContext(monitor));
}
- public <T> T loadXMLDocument(Reader document, Monitor monitor) throws XMLStreamException, ContributionReadException {
+ public Object loadXMLDocument(Reader document, Monitor monitor) throws XMLStreamException, ContributionReadException {
init();
XMLStreamReader reader = staxHelper.createXMLStreamReader(document);
ValidatingXMLInputFactory.setMonitor(reader, monitor);