geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lin...@apache.org
Subject svn commit: r692154 - /geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ManagementHelper.java
Date Thu, 04 Sep 2008 16:48:36 GMT
Author: linsun
Date: Thu Sep  4 09:48:35 2008
New Revision: 692154

URL: http://svn.apache.org/viewvc?rev=692154&view=rev
Log:
loose the check to get appclient displayed under application plugins

Modified:
    geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ManagementHelper.java

Modified: geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ManagementHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ManagementHelper.java?rev=692154&r1=692153&r2=692154&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ManagementHelper.java
(original)
+++ geronimo/server/trunk/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ManagementHelper.java
Thu Sep  4 09:48:35 2008
@@ -142,8 +142,8 @@
         String type = abstractName.getNameProperty("j2eeType");
         String app = abstractName.getNameProperty("J2EEApplication");
         String name = abstractName.getNameProperty("name");
-        if (type != null && (app == null || app.equals("null"))) {
-            return (type.equals("WebModule") || type.equals("J2EEApplication") || type.equals("EJBModule")
|| type.equals("AppClientModule") || type.equals("ResourceAdapterModule")) && !name.startsWith("geronimo/system");
           
+        if (type != null) {
+            return (type.equals("WebModule") || type.equals("J2EEApplication") || type.equals("EJBModule")
|| type.equals("AppClientModule") || type.equals("ResourceAdapterModule")) && !name.startsWith("geronimo/system");

         }
         return false;
     }



Mime
View raw message