[
https://issues.apache.org/jira/browse/DERBY-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203088#comment-13203088
]
Mike Matrigali commented on DERBY-5604:
---------------------------------------
i am fine with making it reflect reality. use of the static is ugly either
way, but i have not gotten around to it in many years so not likely in near
future. I think it gets used only in some internal function tests to make it
easy to create really deep trees without having to generate so much data. At
this point it might make more sense to change the tests not to use it and make
it , and just generate the data - back then machines
were slow enough that i didn't want to pay the insert cost.
note it is only possible to use this in a DEBUG server.
> [patch] access static constants with static references
> ------------------------------------------------------
>
> Key: DERBY-5604
> URL: https://issues.apache.org/jira/browse/DERBY-5604
> Project: Derby
> Issue Type: Improvement
> Components: Store
> Affects Versions: 10.8.2.2
> Reporter: Dave Brosius
> Priority: Trivial
> Attachments: use_static_reference.diff
>
>
> code access static fields by fetching instances and getting the static
> variable from the object. Just use the class reference.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira