cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r409903 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/Deprecation.java
Date Sun, 28 May 2006 01:15:31 GMT
Author: antonio
Date: Sat May 27 18:15:31 2006
New Revision: 409903

URL: http://svn.apache.org/viewvc?rev=409903&view=rev
Log:
Use direct method.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/Deprecation.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/Deprecation.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/Deprecation.java?rev=409903&r1=409902&r2=409903&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/Deprecation.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/Deprecation.java Sat May
27 18:15:31 2006
@@ -17,6 +17,7 @@
 
 import org.apache.avalon.framework.logger.ConsoleLogger;
 import org.apache.avalon.framework.logger.Logger;
+import org.apache.commons.lang.enums.Enum;
 import org.apache.commons.lang.enums.ValuedEnum;
 
 /**
@@ -88,7 +89,7 @@
         }
         
         public static LogLevel getLevel(String level) {
-            return (LogLevel)ValuedEnum.getEnum(LogLevel.class, level);
+            return (LogLevel)Enum.getEnum(LogLevel.class, level);
         }
     }
 



Mime
View raw message