cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [3/4] 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:27:58 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/5e492723
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5e492723
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5e492723

Branch: refs/heads/3.0.x-fixes
Commit: 5e4927233541443875f3337ddd21028e31cd65a0
Parents: 24a458b
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:27:37 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/5e492723/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 5472d9a..53a0d84 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
@@ -278,7 +278,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