mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
18.37.2013 3f7ddbf313aaabbfba4650cb2036cb41e51a9bde
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AbstractConnectionWrapper.java
@@ -55,12 +55,15 @@
 * An abstract base class from which connection wrappers may be easily
 * implemented. The default implementation of each method is to delegate to the
 * wrapped connection.
 *
 * @param <C>
 *            The type of wrapped connection.
 */
public abstract class AbstractConnectionWrapper implements Connection {
public abstract class AbstractConnectionWrapper<C extends Connection> implements Connection {
    /**
     * The wrapped connection.
     */
    protected final Connection connection;
    protected final C connection;
    /**
     * Creates a new connection wrapper.
@@ -68,7 +71,7 @@
     * @param connection
     *            The connection to be wrapped.
     */
    protected AbstractConnectionWrapper(final Connection connection) {
    protected AbstractConnectionWrapper(final C connection) {
        Validator.ensureNotNull(connection);
        this.connection = connection;
    }