diff --git a/pgjdbc/src/main/java/org/postgresql/core/v2/V2ReplicationProtocol.java b/pgjdbc/src/main/java/org/postgresql/core/v2/V2ReplicationProtocol.java deleted file mode 100644 index a9d537f7af..0000000000 --- a/pgjdbc/src/main/java/org/postgresql/core/v2/V2ReplicationProtocol.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2016, PostgreSQL Global Development Group - * See the LICENSE file in the project root for more information. - */ - -package org.postgresql.core.v2; - - -import org.postgresql.core.ReplicationProtocol; -import org.postgresql.replication.PGReplicationStream; -import org.postgresql.replication.fluent.logical.LogicalReplicationOptions; -import org.postgresql.replication.fluent.physical.PhysicalReplicationOptions; -import org.postgresql.util.GT; -import org.postgresql.util.PSQLException; -import org.postgresql.util.PSQLState; - -public class V2ReplicationProtocol implements ReplicationProtocol { - public PGReplicationStream startLogical(LogicalReplicationOptions options) throws PSQLException { - throw new PSQLException(GT.tr("ReplicationProtocol not implemented for protocol version 2"), - PSQLState.NOT_IMPLEMENTED); - } - - public PGReplicationStream startPhysical(PhysicalReplicationOptions options) - throws PSQLException { - throw new PSQLException(GT.tr("ReplicationProtocol not implemented for protocol version 2"), - PSQLState.NOT_IMPLEMENTED); - } -}