[
https://issues.apache.org/jira/browse/PHOENIX-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16578879#comment-16578879
]
Vincent Poon commented on PHOENIX-4837:
---------------------------------------
[~mnpoonia] is this cast an appropriate assumption for all environments? Just
checking to see if it's safe
{code}(HFileScanner) sf.getReader()
370 .getStoreFileScanner(scan.getCacheBlocks(), scanUsePread, false, readPt)
{code}
> Update deprecated API to the new one. Also make the code a bit java 7 style
> ---------------------------------------------------------------------------
>
> Key: PHOENIX-4837
> URL: https://issues.apache.org/jira/browse/PHOENIX-4837
> Project: Phoenix
> Issue Type: Improvement
> Affects Versions: 4.15.0
> Reporter: Aman Poonia
> Priority: Minor
> Attachments: PHOENIX-4837.4.x-HBase-1.3.001.patch
>
>
> Currently we are using a few deprecated HBase API's in LocalIndexing classes.
> Also Some of the Autoclosable Resources are being closed manually. Improve
> the code to make it bit more cleaner and updated.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)