sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-jmx-provider] 04/06: SLING-3176 : ValueMap of jmx resource should contain mbean attributes
Date Tue, 07 Nov 2017 09:50:41 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.jmx.provider-0.6.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jmx-provider.git

commit 6f5fc977b7bee0f2d15644cede1fe0b5a2e30c8b
Author: Carsten Ziegeler <cziegeler@apache.org>
AuthorDate: Tue Oct 15 16:56:48 2013 +0000

    SLING-3176 : ValueMap of jmx resource should contain mbean attributes
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/jmxprovider@1532428
13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java b/src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java
index d479f45..e062612 100644
--- a/src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java
+++ b/src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java
@@ -24,10 +24,8 @@ import java.util.Map;
 
 import javax.management.Attribute;
 import javax.management.AttributeList;
-import javax.management.AttributeNotFoundException;
 import javax.management.InstanceNotFoundException;
 import javax.management.MBeanAttributeInfo;
-import javax.management.MBeanException;
 import javax.management.MBeanInfo;
 import javax.management.MBeanServer;
 import javax.management.ObjectName;
@@ -150,12 +148,8 @@ public class MBeanResource extends AbstractResource {
                     }
                 }
             }
-        } catch (final AttributeNotFoundException e) {
-            // ignore
         } catch (final InstanceNotFoundException e) {
             // ignore
-        } catch (final MBeanException e) {
-            // ignore
         } catch (final ReflectionException e) {
             // ignore
         }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message