DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18347>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18347

[VELTOOLS][PATCH] Avoid dummy tools creation in ViewToolInfo constructor

           Summary: [VELTOOLS][PATCH] Avoid dummy tools creation in
                    ViewToolInfo constructor
           Product: Velocity
           Version: 1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Source
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This patch avoid a dummy tools creation in ViewToolInfo constructor, made only 
to know if the tool was a ViewTool.

The proper way of doing this is to use the Class.isAssignableFrom method, 
without creating any dummy instance just to use instanceof.

CloD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to