You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2009/12/08 16:28:18 UTC

[jira] Created: (TOBAGO-836) Generated Classes should also contain deprecation tags

Generated Classes should also contain deprecation tags
------------------------------------------------------

                 Key: TOBAGO-836
                 URL: https://issues.apache.org/jira/browse/TOBAGO-836
             Project: MyFaces Tobago
          Issue Type: Task
          Components: Core
            Reporter: Udo Schnurpfeil
            Assignee: Bernd Bohmann
            Priority: Minor


Classes generated from a deprecated class should be also deprecated.
Also, for attributes.

It might be useful to have a statement like:
      Deprecation.LOG.error("the label attribute is deprecated in tc:in, please use tx:in instead.");
insight them method or a static initilizer block.


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


[jira] Resolved: (TOBAGO-836) Generated Classes should also contain deprecation tags

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-836.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
                   1.5.0-alpha-2
                   1.0.25

> Generated Classes should also contain deprecation tags
> ------------------------------------------------------
>
>                 Key: TOBAGO-836
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-836
>             Project: MyFaces Tobago
>          Issue Type: Task
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 1.0.25, 1.5.0-alpha-2, 1.5.0
>
>
> Classes generated from a deprecated class should be also deprecated.
> Also, for attributes.
> It might be useful to have a statement like:
>       Deprecation.LOG.error("the label attribute is deprecated in tc:in, please use tx:in instead.");
> insight them method or a static initilizer block.

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


[jira] Commented: (TOBAGO-836) Generated Classes should also contain deprecation tags

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851791#action_12851791 ] 

Udo Schnurpfeil commented on TOBAGO-836:
----------------------------------------

I've added the error log in the setter of the components.
When using EL the setter will not called, so there will no message logged.
The Facelets tag handlers has no explicit setter to put the code in, and we don't want to check each deprecated attribute name in each setter call, because of performance.

> Generated Classes should also contain deprecation tags
> ------------------------------------------------------
>
>                 Key: TOBAGO-836
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-836
>             Project: MyFaces Tobago
>          Issue Type: Task
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Bernd Bohmann
>            Priority: Minor
>
> Classes generated from a deprecated class should be also deprecated.
> Also, for attributes.
> It might be useful to have a statement like:
>       Deprecation.LOG.error("the label attribute is deprecated in tc:in, please use tx:in instead.");
> insight them method or a static initilizer block.

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