You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dave Barnes (Jira)" <ji...@apache.org> on 2020/09/10 15:52:13 UTC

[jira] [Closed] (GEODE-7769) Use Float.parseFloat instead of Float.valueOf in AbstractCache

     [ https://issues.apache.org/jira/browse/GEODE-7769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Barnes closed GEODE-7769.
------------------------------

> Use Float.parseFloat instead of Float.valueOf in AbstractCache
> --------------------------------------------------------------
>
>                 Key: GEODE-7769
>                 URL: https://issues.apache.org/jira/browse/GEODE-7769
>             Project: Geode
>          Issue Type: Task
>            Reporter: Jason Huynh
>            Assignee: Mario Kevo
>            Priority: Major
>              Labels: beginner, newb, starter
>             Fix For: 1.13.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In AbstractCache, we have two uses of Float.valueOf that can be converted to Float.parseFloat
> In setEvictionHeapPercentage:
> [https://github.com/apache/geode/blob/af5a044175ee9cee55bf46f4af8be15faafa0687/extensions/geode-modules/src/main/java/org/apache/geode/modules/session/bootstrap/AbstractCache.java#L165]
>  
> In setCriticalHeapPercentage
> [https://github.com/apache/geode/blob/af5a044175ee9cee55bf46f4af8be15faafa0687/extensions/geode-modules/src/main/java/org/apache/geode/modules/session/bootstrap/AbstractCache.java#L173]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)