You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/06/26 13:27:40 UTC

svn commit: r788660 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java

Author: lofwyr
Date: Fri Jun 26 11:27:40 2009
New Revision: 788660

URL: http://svn.apache.org/viewvc?rev=788660&view=rev
Log:
TOBAGO-762: Define a log category for deprected code.
change the meaning of "error" and "warn"

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java?rev=788660&r1=788659&r2=788660&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java Fri Jun 26 11:27:40 2009
@@ -26,15 +26,15 @@
   /**
    * 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
+   * for tag libraries. Thought the designer of a Tobago page cannot see
    * in his IDE that a tag or attribute is deprecated.
    * <p>
-   * The Tobago java code will log into this Log object, with
+   * The Tobago Java code will log into this Log object, with
    * <dl>
    *   <dt><code>error</code></dt>
-   *   <dd>when the code will be removed soon in one of the next releases, or</dd>
+   *   <dd>when the code is deprecated with a loss of function, or</dd>
    *   <dt><code>warn</code></dt>
-   *   <dd>when the code is not optimal to use, but the code will work for some releases.</dd>
+   *   <dd>when the code is deprecated, but still works.</dd>
    * </dl>
    * <p>
    * This Log category can be switched off, in production environment without