felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r929407 - /felix/trunk/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java
Date Wed, 31 Mar 2010 07:20:25 GMT
Author: fmeschbe
Date: Wed Mar 31 07:20:25 2010
New Revision: 929407

URL: http://svn.apache.org/viewvc?rev=929407&view=rev
Log:
FELIX-2241 support multipart/form-data POST parameters
FELIX-2242 fix incorrect JS fragment if dump folder does not exist

Modified:
    felix/trunk/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java

Modified: felix/trunk/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java?rev=929407&r1=929406&r2=929407&view=diff
==============================================================================
--- felix/trunk/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java
(original)
+++ felix/trunk/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java
Wed Mar 31 07:20:25 2010
@@ -104,7 +104,7 @@ class MemoryUsagePanel extends AbstractW
         }
         else
         {
-            statusBuf.append("'files:0,total:0'");
+            statusBuf.append("'files':0,'total':0");
         }
 
         filesBuf.append(']');
@@ -185,7 +185,7 @@ class MemoryUsagePanel extends AbstractW
         }
         else
         {
-            String command = req.getParameter("command");
+            String command = WebConsoleUtil.getParameter(req, "command");
             if ("dump".equals(command))
             {
                 resp.setContentType("text/plain; charset=UTF-8");



Mime
View raw message