geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmcma...@apache.org
Subject svn commit: r581335 - /geronimo/plugins/pluto/trunk/geronimo-pluto/src/main/java/org/apache/geronimo/pluto/AdminConsoleExtensionGBean.java
Date Tue, 02 Oct 2007 18:14:02 GMT
Author: pmcmahan
Date: Tue Oct  2 11:14:01 2007
New Revision: 581335

URL: http://svn.apache.org/viewvc?rev=581335&view=rev
Log:
isEmpty() returns wrong boolean

Modified:
    geronimo/plugins/pluto/trunk/geronimo-pluto/src/main/java/org/apache/geronimo/pluto/AdminConsoleExtensionGBean.java

Modified: geronimo/plugins/pluto/trunk/geronimo-pluto/src/main/java/org/apache/geronimo/pluto/AdminConsoleExtensionGBean.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/pluto/trunk/geronimo-pluto/src/main/java/org/apache/geronimo/pluto/AdminConsoleExtensionGBean.java?rev=581335&r1=581334&r2=581335&view=diff
==============================================================================
--- geronimo/plugins/pluto/trunk/geronimo-pluto/src/main/java/org/apache/geronimo/pluto/AdminConsoleExtensionGBean.java
(original)
+++ geronimo/plugins/pluto/trunk/geronimo-pluto/src/main/java/org/apache/geronimo/pluto/AdminConsoleExtensionGBean.java
Tue Oct  2 11:14:01 2007
@@ -205,7 +205,7 @@
     private boolean pageIsEmpty(String pageTitle){
         if(pageExists(pageTitle)){
             PageConfig pageConfig = getPageConfigFromPluto(pageTitle);
-            return pageConfig.getPortletIds().size() > 0 ? true : false;
+            return pageConfig.getPortletIds().size() > 0 ? false : true;
         }else{
             log.debug("no pageConfig found for " + pageTitle);
             return true;



Mime
View raw message