myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r800266 - /myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java
Date Mon, 03 Aug 2009 09:00:50 GMT
Author: lofwyr
Date: Mon Aug  3 09:00:49 2009
New Revision: 800266

URL: http://svn.apache.org/viewvc?rev=800266&view=rev
Log:
TOBAGO-762: Define a log category for deprected code.
- prevent instantiation

Modified:
    myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java

Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java?rev=800266&r1=800265&r2=800266&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java
(original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/Deprecation.java
Mon Aug  3 09:00:49 2009
@@ -20,7 +20,11 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
-public class Deprecation {
+public final class Deprecation {
+
+  // to prevent instantiation
+  private Deprecation() {
+  }
 
   /**
    * This Log object should help to detect the usage of deprecated code.



Mime
View raw message