You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dave Brosius (JIRA)" <xa...@xml.apache.org> on 2008/01/09 04:46:34 UTC

[jira] Closed: (XALANJ-2236) [PATCH] clean up static calls thru instance references

     [ https://issues.apache.org/jira/browse/XALANJ-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius closed XALANJ-2236.
--------------------------------


Patch applied correctly

> [PATCH] clean up static calls thru instance references
> ------------------------------------------------------
>
>                 Key: XALANJ-2236
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2236
>             Project: XalanJ2
>          Issue Type: Improvement
>    Affects Versions: 2.7
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: 2.7.1
>
>         Attachments: static_ins_invocations.diff
>
>
> for code documentation purposes, it is better to call static methods thru the class rather than an instance of the class, especially in the
> myThread.yield() call, when in fact, you are calling it on the current thread, not necessarily myThread.
> patch, cleans this up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org