You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by gk...@apache.org on 2019/06/04 14:49:07 UTC

svn commit: r1860624 - in /turbine/fulcrum/trunk/parser/src: java/org/apache/fulcrum/parser/ParserService.java test/TestComponentConfig.xml

Author: gk
Date: Tue Jun  4 14:49:07 2019
New Revision: 1860624

URL: http://svn.apache.org/viewvc?rev=1860624&view=rev
Log:
- rename config param name pool2 be more precise and avoiding name clash with fulcrum pool.

Modified:
    turbine/fulcrum/trunk/parser/src/java/org/apache/fulcrum/parser/ParserService.java
    turbine/fulcrum/trunk/parser/src/test/TestComponentConfig.xml

Modified: turbine/fulcrum/trunk/parser/src/java/org/apache/fulcrum/parser/ParserService.java
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/parser/src/java/org/apache/fulcrum/parser/ParserService.java?rev=1860624&r1=1860623&r2=1860624&view=diff
==============================================================================
--- turbine/fulcrum/trunk/parser/src/java/org/apache/fulcrum/parser/ParserService.java (original)
+++ turbine/fulcrum/trunk/parser/src/java/org/apache/fulcrum/parser/ParserService.java Tue Jun  4 14:49:07 2019
@@ -51,7 +51,8 @@ public interface ParserService
     /** Parse file upload items automatically */
     String AUTOMATIC_KEY = "automaticUpload";
     
-    String POOL_KEY = "pool";
+    /** commons pool2 parameters */
+    String POOL_KEY = "pool2";
 
     /**
      * <p> The default value of 'automaticUpload' property

Modified: turbine/fulcrum/trunk/parser/src/test/TestComponentConfig.xml
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/parser/src/test/TestComponentConfig.xml?rev=1860624&r1=1860623&r2=1860624&view=diff
==============================================================================
--- turbine/fulcrum/trunk/parser/src/test/TestComponentConfig.xml (original)
+++ turbine/fulcrum/trunk/parser/src/test/TestComponentConfig.xml Tue Jun  4 14:49:07 2019
@@ -21,11 +21,11 @@
     <parser>
 		<parameterEncoding>utf-8</parameterEncoding>
 		<automaticUpload>true</automaticUpload>
-		<pool>
+		<pool2>
            <!--  cft. defaults in org.apache.commons.pool2.impl.BaseObjectPoolConfig and GenericKeyedObjectPoolConfig -->
 		   <maxTotal>2048</maxTotal>
 		   <blockWhenExhausted>false</blockWhenExhausted>
 		   <maxWaitMillis>100</maxWaitMillis>
-		</pool>
+		</pool2>
     </parser>
 </componentConfig>