You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/01/28 18:49:17 UTC

[jira] Moved: (TILES-87) AttributeTag.calculateType is called even if an attribute does not need preprocessing

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

Antonio Petrelli moved SB-49 to TILES-87:
-----------------------------------------

        Fix Version/s:     (was: 2.0.1)
                       2.0.x
          Component/s:     (was: Tiles)
                       core
    Affects Version/s:     (was: 2.0)
                       2.0.0
             Workflow: Struts  (was: jira)
                  Key: TILES-87  (was: SB-49)
              Project: Tiles  (was: Sandbox)

> AttributeTag.calculateType is called even if an attribute does not need preprocessing
> -------------------------------------------------------------------------------------
>
>                 Key: TILES-87
>                 URL: https://issues.apache.org/struts/browse/TILES-87
>             Project: Tiles
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.0.0
>         Environment: N/A (it's a design issue)
>            Reporter: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.x
>
>
> The AttributeTag.calculateType method is called for every attribute, even those that have been already preprocessed.
> Therefore there is a (pretty small) performance problem. Currently is a case of a null check and a String comparison (plus a call, obiously), but in the future it could be more complex.

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