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 01:51:20 UTC
[jira] [Created] (ACCUMULO-4385) Fix warning about type safety in
CachableBlockFile
Christopher Tubbs created ACCUMULO-4385:
-------------------------------------------
Summary: 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
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)