You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/19 07:33:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17039764#comment-17039764 ]
ASF subversion and git services commented on GEODE-7769:
--------------------------------------------------------
Commit d6c149750de290f5de64a9e05acc78636e11a16b in geode's branch refs/heads/develop from mkevo
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d6c1497 ]
GEODE-7769: use parseFloat instead of valueOf (#4699)
> 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)