cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [3/5] git commit: [CXF-6068] Use XMLEventFactory.newInstance instead of newFactory due to old stax-api jars being picked up.
Date Tue, 28 Oct 2014 18:30:17 GMT
[CXF-6068] Use XMLEventFactory.newInstance instead of newFactory due to old stax-api jars being
picked up.


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/9e171ed1
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9e171ed1
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9e171ed1

Branch: refs/heads/2.7.x-fixes
Commit: 9e171ed15166baeaa24fa258bc87f3c48953a3ec
Parents: 1e8804d
Author: Daniel Kulp <dkulp@apache.org>
Authored: Tue Oct 28 14:06:52 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Oct 28 14:30:01 2014 -0400

----------------------------------------------------------------------
 .../cxf/binding/soap/interceptor/ReadHeadersInterceptor.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9e171ed1/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/ReadHeadersInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/ReadHeadersInterceptor.java
b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/ReadHeadersInterceptor.java
index 6d8d515..da79bf6 100644
--- a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/ReadHeadersInterceptor.java
+++ b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/ReadHeadersInterceptor.java
@@ -272,7 +272,7 @@ public class ReadHeadersInterceptor extends AbstractSoapInterceptor {
      * out while parsing the stream).
      */
     private static class HeadersProcessor {
-        private static final XMLEventFactory FACTORY = XMLEventFactory.newFactory();
+        private static final XMLEventFactory FACTORY = XMLEventFactory.newInstance();
         private final QName soapVersionHeader;
         private final List<XMLEvent> events = new ArrayList<XMLEvent>(8);
         private StreamToDOMContext context;


Mime
View raw message