From 288851e601ed14742b0ba0bfbc54a2846c2017b4 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 16 Dec 2009 22:56:49 +0000
Subject: [PATCH] Consolidate various utility factories into Connections class.

---
 sdk/src/org/opends/sdk/ConnectionPool.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/sdk/src/org/opends/sdk/ConnectionPool.java b/sdk/src/org/opends/sdk/ConnectionPool.java
index e002423..dc22fae 100644
--- a/sdk/src/org/opends/sdk/ConnectionPool.java
+++ b/sdk/src/org/opends/sdk/ConnectionPool.java
@@ -48,7 +48,7 @@
 /**
  * A simple connection pool implementation.
  */
-public final class ConnectionPool extends
+final class ConnectionPool extends
     AbstractConnectionFactory<AsynchronousConnection>
 {
   private final ConnectionFactory<?> connectionFactory;
@@ -499,15 +499,14 @@
   /**
    * Creates a new connection pool which will maintain {@code poolSize}
    * connections created using the provided connection factory.
-   * 
+   *
    * @param connectionFactory
    *          The connection factory to use for creating new
    *          connections.
    * @param poolSize
    *          The maximum size of the connection pool.
    */
-  public ConnectionPool(ConnectionFactory<?> connectionFactory,
-      int poolSize)
+  ConnectionPool(ConnectionFactory<?> connectionFactory, int poolSize)
   {
     this.connectionFactory = connectionFactory;
     this.poolSize = poolSize;

--
Gitblit v1.10.0