myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r886696 - /myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java
Date Thu, 03 Dec 2009 08:07:53 GMT
Author: lofwyr
Date: Thu Dec  3 08:07:49 2009
New Revision: 886696

URL: http://svn.apache.org/viewvc?rev=886696&view=rev
Log:
prevent instantiation

Modified:
    myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java

Modified: myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java?rev=886696&r1=886695&r2=886696&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java
(original)
+++ myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java
Thu Dec  3 08:07:49 2009
@@ -52,6 +52,10 @@
 
   public static final String COMPONENT_IN_REQUEST = "org.apache.myfaces.tobago.component";
 
+  private RenderUtil() {
+    // to prevent instantiation
+  }
+
   public static boolean contains(Object[] list, Object value) {
     if (list == null) {
       return false;



Mime
View raw message