summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-09-21 17:28:38 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-09-21 17:28:38 (GMT)
commit88c4b4ac3e8609049d6ccd6de9f57d5eaef67558 (patch)
treedc90089e711d2626af20bb0e5a4e127b18557dc6 /src/com/isode/stroke/parser/PlatformXMLParserFactory.java
parentdb2202a586a56842a32a9f22c6348d6d1ec5bce4 (diff)
downloadstroke-88c4b4ac3e8609049d6ccd6de9f57d5eaef67558.zip
stroke-88c4b4ac3e8609049d6ccd6de9f57d5eaef67558.tar.bz2
Remove superfluous event loop
Diffstat (limited to 'src/com/isode/stroke/parser/PlatformXMLParserFactory.java')
-rw-r--r--src/com/isode/stroke/parser/PlatformXMLParserFactory.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/com/isode/stroke/parser/PlatformXMLParserFactory.java b/src/com/isode/stroke/parser/PlatformXMLParserFactory.java
index 000eb7f..132dbe7 100644
--- a/src/com/isode/stroke/parser/PlatformXMLParserFactory.java
+++ b/src/com/isode/stroke/parser/PlatformXMLParserFactory.java
@@ -9,13 +9,10 @@
package com.isode.stroke.parser;
-import com.isode.stroke.eventloop.EventLoop;
public class PlatformXMLParserFactory {
- /**
- * Unlike Swiften, this may be threaded, and therefore needs an eventloop.
- */
- public static XMLParser createXMLParser(XMLParserClient client, EventLoop eventLoop) {
- return new AaltoXMLParser(client, eventLoop);
+
+ public static XMLParser createXMLParser(XMLParserClient client) {
+ return new AaltoXMLParser(client);
}
}