You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bl...@apache.org on 2001/04/19 18:59:49 UTC
cvs commit: xml-cocoon/src/org/apache/cocoon/components/parser JaxpParser.java
bloritsch 01/04/19 09:59:49
Modified: src/org/apache/cocoon/components/parser Tag: xml-cocoon2
JaxpParser.java
Log:
Removed ThreadSafe interface, because AbstractXMLProducers are
not ThreadSafe, and that is what it extends from.
Revision Changes Path
No revision
No revision
1.1.2.4 +3 -3 xml-cocoon/src/org/apache/cocoon/components/parser/Attic/JaxpParser.java
Index: JaxpParser.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/components/parser/Attic/JaxpParser.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- JaxpParser.java 2001/02/12 14:17:30 1.1.2.3
+++ JaxpParser.java 2001/04/19 16:59:47 1.1.2.4
@@ -29,10 +29,10 @@
* If only we can get rid of the need for the Document...
*
* @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
- * @version CVS $Revision: 1.1.2.3 $ $Date: 2001/02/12 14:17:30 $
+ * @version CVS $Revision: 1.1.2.4 $ $Date: 2001/04/19 16:59:47 $
*/
public class JaxpParser extends AbstractXMLProducer
-implements Parser, ErrorHandler, ThreadSafe {
+implements Parser, ErrorHandler {
final SAXParserFactory factory = SAXParserFactory.newInstance();
final DocumentBuilderFactory docfactory = DocumentBuilderFactory.newInstance();
@@ -72,7 +72,7 @@
*/
public Document newDocument() {
DocumentBuilder builder = null;
-
+
try {
builder = this.docfactory.newDocumentBuilder();
} catch (ParserConfigurationException pce) {
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org