You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (Jira)" <ji...@apache.org> on 2020/02/05 23:38:00 UTC

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

Jason Huynh created GEODE-7769:
----------------------------------

             Summary: 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


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)