[jboss-jira] [JBoss JIRA] (JBLOGGING-124) Change switch statements to if/else blocks when translating levels

James Perkins (JIRA) issues at jboss.org
Wed Oct 5 14:28:00 EDT 2016


     [ https://issues.jboss.org/browse/JBLOGGING-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins closed JBLOGGING-124.
-----------------------------------
    Fix Version/s: 3.3.0.Beta2
       Resolution: Done


> Change switch statements to if/else blocks when translating levels
> ------------------------------------------------------------------
>
>                 Key: JBLOGGING-124
>                 URL: https://issues.jboss.org/browse/JBLOGGING-124
>             Project: JBoss Logging
>          Issue Type: Enhancement
>            Reporter: James Perkins
>            Assignee: James Perkins
>             Fix For: 3.3.0.Beta2
>
>
> Currently a switch statement is used when levels are translated from a JBoss Logging level to the back end log level. This will likely perform better as an if/else block with the mostly likely used level at the top of the comparison.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list