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

Henning Schmiedehausen closed VELOCITY-156.
-------------------------------------------


> [VELTOOLS][PATCH] Avoid dummy tools creation in ViewToolInfo constructor
> ------------------------------------------------------------------------
>
>                 Key: VELOCITY-156
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-156
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Operating System: All
> Platform: All
>            Reporter: Claude Brisson
>         Assigned To: Velocity-Dev List
>            Priority: Minor
>         Attachments: nodummyinit.patch
>
>
> 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

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to