tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r492705 - /tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/corelib/base/AbstractField.java
Date Thu, 04 Jan 2007 19:52:54 GMT
Author: hlship
Date: Thu Jan  4 11:52:53 2007
New Revision: 492705

URL: http://svn.apache.org/viewvc?view=rev&rev=492705
Log:
Removed unused code from AbstractField.

Modified:
    tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/corelib/base/AbstractField.java

Modified: tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/corelib/base/AbstractField.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/corelib/base/AbstractField.java?view=diff&rev=492705&r1=492704&r2=492705
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/corelib/base/AbstractField.java
(original)
+++ tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/corelib/base/AbstractField.java
Thu Jan  4 11:52:53 2007
@@ -141,10 +141,7 @@
 
     public final String getLabel()
     {
-        if (_label != null)
-            return _label;
-
-        return TapestryUtils.toUserPresentable(_resources.getId());
+        return _label;
     }
 
     @SetupRender



Mime
View raw message