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/03/06 18:54:00 UTC

[jira] [Commented] (GEODE-7853) Remove Unnecessary Calls to Logger.isTraceEnabled From InternalDataSerializer

    [ https://issues.apache.org/jira/browse/GEODE-7853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17053705#comment-17053705 ] 

ASF subversion and git services commented on GEODE-7853:
--------------------------------------------------------

Commit a9a7d15fd32ff9ef557270f5d25cbce35a6ebcd3 in geode's branch refs/heads/develop from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a9a7d15 ]

GEODE-7853: Remove unused field (#4777)

Remove unused field and avoid unnecessary calls to
Logger.isTraceEnabled().

> Remove Unnecessary Calls to Logger.isTraceEnabled From InternalDataSerializer
> -----------------------------------------------------------------------------
>
>                 Key: GEODE-7853
>                 URL: https://issues.apache.org/jira/browse/GEODE-7853
>             Project: Geode
>          Issue Type: Bug
>          Components: logging, serialization
>            Reporter: Juan Ramos
>            Assignee: Juan Ramos
>            Priority: Major
>              Labels: GeodeCommons
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{InternalDataSerializer}} class invokes {{Logger.isTraceEnabled()}} while [initializing|https://github.com/apache/geode/blob/develop/geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java#L249-L251] a {{static final}} field that is not used anywhere in the code, remove the call and the unused field.



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