qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject svn commit: r1031305 - /qpid/trunk/qpid/java/broker-plugins/experimental/shutdown/src/main/java/org/apache/qpid/shutdown/Activator.java
Date Thu, 04 Nov 2010 22:34:21 GMT
Author: robbie
Date: Thu Nov  4 22:34:21 2010
New Revision: 1031305

URL: http://svn.apache.org/viewvc?rev=1031305&view=rev
Log:
QPID-2927: fix inconsistent use of spaces and tabs for indentation, always use spaces

Modified:
    qpid/trunk/qpid/java/broker-plugins/experimental/shutdown/src/main/java/org/apache/qpid/shutdown/Activator.java

Modified: qpid/trunk/qpid/java/broker-plugins/experimental/shutdown/src/main/java/org/apache/qpid/shutdown/Activator.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker-plugins/experimental/shutdown/src/main/java/org/apache/qpid/shutdown/Activator.java?rev=1031305&r1=1031304&r2=1031305&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker-plugins/experimental/shutdown/src/main/java/org/apache/qpid/shutdown/Activator.java
(original)
+++ qpid/trunk/qpid/java/broker-plugins/experimental/shutdown/src/main/java/org/apache/qpid/shutdown/Activator.java
Thu Nov  4 22:34:21 2010
@@ -31,33 +31,33 @@ import org.osgi.framework.BundleContext;
 public class Activator implements BundleActivator
 {
     private static final Logger _logger = Logger.getLogger(Activator.class);
-    
+
     private static final String SHUTDOWN_MBEAN_NAME = "org.apache.qpid:type=ShutdownMBean";
-    
-	/** @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) */
-	public void start(BundleContext ctx) throws Exception {
-	    Shutdown shutdown = new Shutdown();
-	    if (ctx != null)
+
+    /** @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) */
+    public void start(BundleContext ctx) throws Exception {
+        Shutdown shutdown = new Shutdown();
+        if (ctx != null)
         {
             ctx.registerService(ShutdownMBean.class.getName(), shutdown, null);
         }
 
-	    // MBean registration
-	    MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
+        // MBean registration
+        MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
         ObjectName name = new ObjectName(SHUTDOWN_MBEAN_NAME);
         mbs.registerMBean(shutdown, name);
 
         _logger.info("Shutdown plugin MBean registered");
-	}
-	
-	/** @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) */
-	public void stop(BundleContext ctx) throws Exception
-	{
-	    // Unregister MBean
-	    MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
+    }
+
+    /** @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) */
+    public void stop(BundleContext ctx) throws Exception
+    {
+        // Unregister MBean
+        MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
         ObjectName name = new ObjectName(SHUTDOWN_MBEAN_NAME);
-	    mbs.unregisterMBean(name);
- 
+        mbs.unregisterMBean(name);
+
         _logger.info("Shutdown plugin MBean unregistered");
-	}
+    }
 }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message