[ 
https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kurt Greaves updated CASSANDRA-12788:
-------------------------------------
    Attachment: 12788.patch

> AbstractReplicationStrategy is not extendable from outside the package
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-12788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12788
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Kurt Greaves
>         Attachments: 12788.patch
>
>
> The constructor for ARS is package-private (no modifier), which means that 
> custom RS implementations cannot call it. That is, calling super(...) fails 
> unless you create your replication strategy inside 
> org.apache.cassandra.locator. This obviously isn't ideal.
> I propose adding protected to the constructor in ARS. The attached patch was 
> against trunk however I believe it should work for 2.1, 2.2, 3.0, and 3.x.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to