You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2012/05/14 22:41:54 UTC

svn commit: r1338390 - /cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java

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