cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomek...@apache.org
Subject svn commit: r1081968 - /cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarPresenter.java
Date Tue, 15 Mar 2011 22:32:12 GMT
Author: tomekopo
Date: Tue Mar 15 22:32:12 2011
New Revision: 1081968

URL: http://svn.apache.org/viewvc?rev=1081968&view=rev
Log:
Removed call to String.isEmpty (Java 5 backward compatibility)

Modified:
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarPresenter.java

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarPresenter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarPresenter.java?rev=1081968&r1=1081967&r2=1081968&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarPresenter.java
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarPresenter.java
Tue Mar 15 22:32:12 2011
@@ -102,7 +102,7 @@ public class NavigationSidebarPresenter 
 
             boolean isFirstAttribute = true;
 
-            if (filterOptions.getPhrase() != null && !filterOptions.getPhrase().isEmpty())
{
+            if (filterOptions.getPhrase() != null && !"".equals(filterOptions.getPhrase()))
{
                 url.append("message==*");
                 url.append(filterOptions.getPhrase());
                 url.append("*;");



Mime
View raw message