felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r705206 - /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
Date Thu, 16 Oct 2008 10:57:23 GMT
Author: cziegeler
Date: Thu Oct 16 03:57:23 2008
New Revision: 705206

URL: http://svn.apache.org/viewvc?rev=705206&view=rev
Log:
FELIX-757 : Rename "Available" to "Total", code clean up

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java?rev=705206&r1=705205&r2=705206&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
(original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
Thu Oct 16 03:57:23 2008
@@ -307,9 +307,6 @@
         pw.println( "<script src='" + appRoot + "/res/ui/bundles.js' language='JavaScript'></script>"
);
 
         if ( bundles != null ) {
-            pw.println("<table class='content' cellpadding='0' cellspacing='0' width='100%'><tbody>"
);
-            pw.println("<tr class='content'>" );
-            renderBundleInfoCount(pw, "Available", bundles.length);
             int active = 0, installed = 0, resolved = 0;
             for(int i=0; i<bundles.length; i++) {
                 switch ( bundles[i].getState() ) {
@@ -318,6 +315,10 @@
                     case Bundle.RESOLVED: resolved++;break;
                 }
             }
+
+            pw.println("<table class='content' cellpadding='0' cellspacing='0' width='100%'><tbody>"
);
+            pw.println("<tr class='content'>" );
+            renderBundleInfoCount(pw, "Total", bundles.length);
             renderBundleInfoCount(pw, "Active", active);
             renderBundleInfoCount(pw, "Resolved", resolved);
             renderBundleInfoCount(pw, "Installed", installed);



Mime
View raw message