click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r760918 - /incubator/click/trunk/click/examples/src/org/apache/click/examples/page/tree/PageLinkTreePage.java
Date Wed, 01 Apr 2009 15:24:24 GMT
Author: sabob
Date: Wed Apr  1 15:24:23 2009
New Revision: 760918

URL: http://svn.apache.org/viewvc?rev=760918&view=rev
Log:
fixed ClassUtils import. CLK-515

Modified:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/tree/PageLinkTreePage.java

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/tree/PageLinkTreePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/tree/PageLinkTreePage.java?rev=760918&r1=760917&r2=760918&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/tree/PageLinkTreePage.java
(original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/tree/PageLinkTreePage.java
Wed Apr  1 15:24:23 2009
@@ -29,7 +29,7 @@
 import org.apache.click.extras.tree.Tree;
 import org.apache.click.extras.tree.TreeNode;
 import org.apache.click.util.HtmlStringBuffer;
-import org.springframework.util.ClassUtils;
+import org.apache.commons.lang.ClassUtils;
 
 /**
  * Demonstrates how to customize the rendering of tree nodes.
@@ -60,7 +60,7 @@
                 // If node value is a Page class, render a PageLink, otherwise
                 // render the node value
                 if (cls != null && Page.class.isAssignableFrom(cls)) {
-                    String shortName = ClassUtils.getShortName(cls);
+                    String shortName = ClassUtils.getShortClassName(cls);
                     PageLink link = new PageLink(shortName, cls);
                     buffer.append(link);
                 } else {



Mime
View raw message