From 78c791ee90921fbcb2591fcc776a22c54ded3c48 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.

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

diff --git a/opendj-sdk/sdk/src/org/opends/sdk/ConnectionPool.java b/opendj-sdk/sdk/src/org/opends/sdk/ConnectionPool.java
index e002423..dc22fae 100644
--- a/opendj-sdk/sdk/src/org/opends/sdk/ConnectionPool.java
+++ b/opendj-sdk/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