incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r832617 - in /sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal: BaseThreadDumper.java ThreadDumperPanel.java
Date Tue, 03 Nov 2009 23:47:13 GMT
Author: cziegeler
Date: Tue Nov  3 23:47:12 2009
New Revision: 832617

URL: http://svn.apache.org/viewvc?rev=832617&view=rev
Log:
Clean up code

Modified:
    sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/BaseThreadDumper.java
    sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/ThreadDumperPanel.java

Modified: sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/BaseThreadDumper.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/BaseThreadDumper.java?rev=832617&r1=832616&r2=832617&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/BaseThreadDumper.java
(original)
+++ sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/BaseThreadDumper.java
Tue Nov  3 23:47:12 2009
@@ -18,19 +18,10 @@
  */
 package org.apache.sling.extensions.threaddump.internal;
 
-import java.io.IOException;
 import java.io.PrintWriter;
 import java.net.URL;
 import java.net.URLClassLoader;
 
-import javax.servlet.Servlet;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.apache.felix.webconsole.AbstractWebConsolePlugin;
-import org.apache.felix.webconsole.ConfigurationPrinter;
-
 class BaseThreadDumper {
 
     boolean printThread(PrintWriter pw, long threadId, boolean withStackTrace) {
@@ -49,7 +40,7 @@
 
         return false;
     }
-    
+
     void printThreads(PrintWriter pw, boolean withStackTrace) {
         // first get the root thread group
         ThreadGroup rootGroup = getRootThreadGroup();
@@ -73,7 +64,7 @@
         }
         return rootGroup;
     }
-    
+
     private void printThreadGroup(PrintWriter pw, ThreadGroup group, boolean withStackTrace)
{
         if (group != null) {
             StringBuffer info = new StringBuffer();

Modified: sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/ThreadDumperPanel.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/ThreadDumperPanel.java?rev=832617&r1=832616&r2=832617&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/ThreadDumperPanel.java
(original)
+++ sling/trunk/bundles/extensions/threaddump/src/main/java/org/apache/sling/extensions/threaddump/internal/ThreadDumperPanel.java
Tue Nov  3 23:47:12 2009
@@ -22,7 +22,6 @@
 import java.io.PrintWriter;
 import java.text.SimpleDateFormat;
 import java.util.Date;
-import java.util.Iterator;
 import java.util.Locale;
 
 import javax.servlet.Servlet;



Mime
View raw message