myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r377773 - in /myfaces/commons/trunk/src/main/java/org/apache/myfaces/util: ClassUtils.java LocaleUtils.java MessageUtils.java StateUtils.java StringUtils.java _ComponentUtils.java
Date Tue, 14 Feb 2006 17:17:09 GMT
Author: matzew
Date: Tue Feb 14 09:17:07 2006
New Revision: 377773

URL: http://svn.apache.org/viewcvs?rev=377773&view=rev
Log:
minor changes (made clazzes final, since they provide only private constructors)

Modified:
    myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/ClassUtils.java
    myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/LocaleUtils.java
    myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/MessageUtils.java
    myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StateUtils.java
    myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StringUtils.java
    myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/_ComponentUtils.java

Modified: myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/ClassUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/ClassUtils.java?rev=377773&r1=377772&r2=377773&view=diff
==============================================================================
--- myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/ClassUtils.java (original)
+++ myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/ClassUtils.java Tue Feb 14
09:17:07 2006
@@ -33,7 +33,7 @@
  * @author Anton Koinov
  * @version $Revision$ $Date$
  */
-public class ClassUtils
+public final class ClassUtils
 {
     //~ Static fields/initializers -----------------------------------------------------------------
 

Modified: myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/LocaleUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/LocaleUtils.java?rev=377773&r1=377772&r2=377773&view=diff
==============================================================================
--- myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/LocaleUtils.java (original)
+++ myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/LocaleUtils.java Tue Feb 14
09:17:07 2006
@@ -26,7 +26,7 @@
  * @author Anton Koinov (latest modification by $Author$)
  * @version $Revision$ $Date$
  */
-public class LocaleUtils
+public final class LocaleUtils
 {
     private static final Log log = LogFactory.getLog(LocaleUtils.class);
 

Modified: myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/MessageUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/MessageUtils.java?rev=377773&r1=377772&r2=377773&view=diff
==============================================================================
--- myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/MessageUtils.java (original)
+++ myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/MessageUtils.java Tue Feb
14 09:17:07 2006
@@ -46,8 +46,13 @@
  * @author Stpehan Strittmatter
  * @version $Revision$ $Date$
  */
-public class MessageUtils
+public final class MessageUtils
 {
+    /** Utility class, do not instatiate */
+	private MessageUtils()
+	{
+		// nope
+	}
     private static final Log LOG = LogFactory.getLog(MessageUtils.class);
 
     /** Default bundle for messages (<code>javax.faces.Messages</code>) */

Modified: myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StateUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StateUtils.java?rev=377773&r1=377772&r2=377773&view=diff
==============================================================================
--- myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StateUtils.java (original)
+++ myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StateUtils.java Tue Feb 14
09:17:07 2006
@@ -80,7 +80,7 @@
  * @author Dennis C. Byrne, ich
  */
 
-public class StateUtils {
+public final class StateUtils {
 
     private static final Log log = LogFactory.getLog(StateUtils.class);
 
@@ -100,6 +100,12 @@
 
     private static boolean secure = false;
 
+    /** Utility class, do not instatiate */
+    private StateUtils()
+    {
+    	//nope
+    }
+    
     static
     {
 

Modified: myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StringUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StringUtils.java?rev=377773&r1=377772&r2=377773&view=diff
==============================================================================
--- myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StringUtils.java (original)
+++ myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/StringUtils.java Tue Feb 14
09:17:07 2006
@@ -29,7 +29,7 @@
  * @author Anton Koinov (latest modification by $Author$)
  * @version $Revision$ $Date$
  */
-public class StringUtils
+public final class StringUtils
 {
     private StringUtils()
     {

Modified: myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/_ComponentUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/_ComponentUtils.java?rev=377773&r1=377772&r2=377773&view=diff
==============================================================================
--- myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/_ComponentUtils.java (original)
+++ myfaces/commons/trunk/src/main/java/org/apache/myfaces/util/_ComponentUtils.java Tue Feb
14 09:17:07 2006
@@ -22,7 +22,7 @@
  * @author Mathias Br&ouml;kelmann (latest modification by $Author$)
  * @version $Revision$ $Date$
  */
-public class _ComponentUtils
+public final class _ComponentUtils
 {
     private _ComponentUtils()
     {



Mime
View raw message