continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r690508 - in /continuum/trunk/continuum-core/src: main/java/org/apache/maven/continuum/project/builder/AbstractContinuumProjectBuilder.java test/resources/META-INF/
Date Sat, 30 Aug 2008 14:12:30 GMT
Author: olamy
Date: Sat Aug 30 07:12:29 2008
New Revision: 690508

URL: http://svn.apache.org/viewvc?rev=690508&view=rev
Log:
fix compilation failure oupsss and remove no more used files

Removed:
    continuum/trunk/continuum-core/src/test/resources/META-INF/
Modified:
    continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/AbstractContinuumProjectBuilder.java

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/AbstractContinuumProjectBuilder.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/AbstractContinuumProjectBuilder.java?rev=690508&r1=690507&r2=690508&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/AbstractContinuumProjectBuilder.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/AbstractContinuumProjectBuilder.java
Sat Aug 30 07:12:29 2008
@@ -38,8 +38,8 @@
 import org.apache.http.auth.UsernamePasswordCredentials;
 import org.apache.http.client.methods.HttpGet;
 import org.apache.http.conn.ClientConnectionManager;
+import org.apache.http.conn.params.ConnManagerPNames;
 import org.apache.http.conn.params.ConnPerRouteBean;
-import org.apache.http.conn.params.HttpConnectionManagerParams;
 import org.apache.http.conn.scheme.PlainSocketFactory;
 import org.apache.http.conn.scheme.Scheme;
 import org.apache.http.conn.scheme.SchemeRegistry;
@@ -87,11 +87,12 @@
         
         HttpParams params = new BasicHttpParams();
         // TODO put this values to a configuration way ???
-        HttpConnectionManagerParams.setMaxTotalConnections( params, 30 );
-        HttpConnectionManagerParams.setMaxConnectionsPerRoute( params, new ConnPerRouteBean(
30 ) );
+        params.setParameter( ConnManagerPNames.MAX_TOTAL_CONNECTIONS, new Integer( 30 ) );
+        params.setParameter( ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE, new ConnPerRouteBean(
30 ) );
         HttpProtocolParams.setVersion( params, HttpVersion.HTTP_1_1 );
-        
+
         ClientConnectionManager cm = new ThreadSafeClientConnManager( params, schemeRegistry
);
+        
         httpClient = new DefaultHttpClient( cm, params );
 
         



Mime
View raw message