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/06/10 17:08:07 UTC

[jira] Created: (TOBAGO-762) Define a log category for deprected code.

Define a log category for deprected code.
-----------------------------------------

                 Key: TOBAGO-762
                 URL: https://issues.apache.org/jira/browse/TOBAGO-762
             Project: MyFaces Tobago
          Issue Type: Improvement
          Components: Core
            Reporter: Udo Schnurpfeil
            Assignee: Udo Schnurpfeil


This Log object should help to detect the usage of deprecated code.
The main reason for this class is the lack of a "deprecated concept" for tag libraries. Thought the designer of a tobago page cannot see in his IDE that a tag or attribute is deprecated.

The Tobago java code will log into this Log object, with
 * error: when the code will be removed soon in one of the next releases, or
 * warn: when the code is not optimal to use, but the code will work for some releases.

This Log category can be switched off, in production environment without affecting the normal logging category.

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


[jira] Resolved: (TOBAGO-762) Define a log category for deprected code.

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

Bernd Bohmann resolved TOBAGO-762.
----------------------------------

    Resolution: Fixed

> Define a log category for deprected code.
> -----------------------------------------
>
>                 Key: TOBAGO-762
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-762
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Bernd Bohmann
>             Fix For: 1.0.22, 1.1.0
>
>
> This Log object should help to detect the usage of deprecated code.
> The main reason for this class is the lack of a "deprecated concept" for tag libraries. Thought the designer of a Tobago page cannot see in his IDE that a tag or attribute is deprecated.
> The Tobago Java code will log into this Log object, with
>  * error: when the code is deprecated with a loss of function, or
>  * warn: when the code is deprecated, but still works.
> This Log category can be switched off, in production environment without affecting the normal logging category.

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