[ https://issues.apache.org/jira/browse/MAHOUT-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13735004#comment-13735004 ]
David Geiger commented on MAHOUT-1308: -------------------------------------- Hi Sebastian, thanks for commenting. I agree that it's not a major problem as one might as well implement the interface {{CandidateItemsStrategy}} directly. The abstract class *{{AbstractCandidateItemsStrategy}}*, however, provides a convenient basis for strategies that also implement the {{MostSimilarItemsCandidateItemsStrategy}} interface. The code can be easily copied, but given that most other abstract classes in taste can be extended, I believe that the restricted visibility might be unintentional. > Cannot extend CandidateItemsStrategy due to restricted visibility > ----------------------------------------------------------------- > > Key: MAHOUT-1308 > URL: https://issues.apache.org/jira/browse/MAHOUT-1308 > Project: Mahout > Issue Type: Bug > Components: Collaborative Filtering > Reporter: David Geiger > Assignee: Sean Owen > Priority: Minor > Original Estimate: 5m > Remaining Estimate: 5m > > In order to implement a custom CandidateItemsStrategy, I'd like to extend > {{AbstractCandidateItemsStrategy}}. This is not possible as the visibility > modifier of {{doGetCandidateItems()}} is package default. Can it be extended > to protected? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira