avoid thread safety issues

git-svn-id: http://jclouds.googlecode.com/svn/trunk@1491 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2009-06-29 13:52:02 +00:00
parent fcaa546356
commit cc6ff3a805
1 changed files with 6 additions and 7 deletions

View File

@ -23,16 +23,16 @@
*/
package org.jclouds.http.commands.callables.xml.config;
import com.google.inject.AbstractModule;
import com.google.inject.Provides;
import com.google.inject.Singleton;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import com.google.inject.AbstractModule;
import com.google.inject.Provides;
/**
* // TODO: Adrian: Document this!
*
@ -48,7 +48,6 @@ public class SaxModule extends AbstractModule {
}
@Provides
@Singleton
SAXParserFactory provideSAXParserFactory() {
SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setNamespaceAware(false);