[jboss-jira] [JBoss JIRA] (LOGTOOL-130) Remove the usage of static strings from the generated source

James Perkins (Jira) issues at jboss.org
Mon Apr 15 12:53:00 EDT 2019


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

James Perkins updated LOGTOOL-130:
----------------------------------
    Git Pull Request: https://github.com/jboss-logging/jboss-logging-tools/pull/75  (was: https://github.com/jboss-logging/jboss-logging-tools/pull/70)


> Remove the usage of static strings from the generated source
> ------------------------------------------------------------
>
>                 Key: LOGTOOL-130
>                 URL: https://issues.jboss.org/browse/LOGTOOL-130
>             Project: Log Tool
>          Issue Type: Enhancement
>            Reporter: James Perkins
>            Assignee: James Perkins
>            Priority: Major
>             Fix For: 2.2.0.Final
>
>
> Currently there is a private static string constant created for each message. This string is just returned in the `methodName$str()` method. Instead of creating the string constant just have the generated method return the message string. This reduces the size of the metaspace required for the class.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list