You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2016/07/22 03:00:23 UTC
[jira] [Resolved] (ACCUMULO-4385) Fix warning about type safety in
CachableBlockFile
[ https://issues.apache.org/jira/browse/ACCUMULO-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Tubbs resolved ACCUMULO-4385.
-----------------------------------------
Resolution: Fixed
> Fix warning about type safety in CachableBlockFile
> --------------------------------------------------
>
> Key: ACCUMULO-4385
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4385
> Project: Accumulo
> Issue Type: Task
> Components: core
> Reporter: Christopher Tubbs
> Assignee: Christopher Tubbs
> Priority: Trivial
> Fix For: 1.6.6, 1.7.3, 1.8.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> It looks like {{CacheableBlock}} in {{CachableBlockFile}} has a generic method which overrides a superclass's generic method.
> Type safety cannot be guaranteed by the compiler, because it cannot guarantee that the generic parameters of the subclass conform to the generic parameters of the superclass.
> I'm not sure this is avoidable, and in any case doesn't appear to be a problem in this particular case.
> We can just suppress this particular warning.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)