You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sebastian Schelter (JIRA)" <ji...@apache.org> on 2013/08/09 16:14:48 UTC

[jira] [Commented] (MAHOUT-1308) Cannot extend CandidateItemsStrategy due to restricted visibility

    [ https://issues.apache.org/jira/browse/MAHOUT-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734819#comment-13734819 ] 

Sebastian Schelter commented on MAHOUT-1308:
--------------------------------------------

Hi David,

This should not be a problem as CandidateItemsStrategy is an interface and all methods of interface are public by default (http://docs.oracle.com/javase/specs/jls/se7/html/jls-6.html#jls-6.6.1).

Let me know if you still have trouble writing your own CandidateItemsStrategy.
                
> 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