accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-4385) Fix warning about type safety in CachableBlockFile
Date Fri, 22 Jul 2016 03:00:23 GMT

     [ 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)

Mime
View raw message