cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1338390 - /cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
Date Mon, 14 May 2012 20:41:54 GMT
Author: dkulp
Date: Mon May 14 20:41:54 2012
New Revision: 1338390

URL: http://svn.apache.org/viewvc?rev=1338390&view=rev
Log:
Add ability to set the statics to cleanup some tests

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java?rev=1338390&r1=1338389&r2=1338390&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java Mon May 14 20:41:54
2012
@@ -143,6 +143,13 @@ public final class StaxUtils {
     
     private StaxUtils() {
     }
+    
+    public static void setInnerElementLevelThreshold(int i) {
+        innerElementLevelThreshold = i;
+    }
+    public static void setInnerElementCountThreshold(int i) {
+        innerElementCountThreshold = i;
+    }
 
     /**
      * CXF works with multiple STaX parsers. When we can't find any other way to work 



Mime
View raw message