Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B53A5200D41 for ; Tue, 7 Nov 2017 10:57:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B3D69160C01; Tue, 7 Nov 2017 09:57:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 51338160C0C for ; Tue, 7 Nov 2017 10:57:08 +0100 (CET) Received: (qmail 50832 invoked by uid 500); 7 Nov 2017 09:50:27 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 50369 invoked by uid 99); 7 Nov 2017 09:50:26 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2017 09:50:26 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id B3A3E87A70; Tue, 7 Nov 2017 09:50:25 +0000 (UTC) Date: Tue, 07 Nov 2017 09:50:41 +0000 To: "commits@sling.apache.org" Subject: [sling-org-apache-sling-jmx-provider] 04/06: SLING-3176 : ValueMap of jmx resource should contain mbean attributes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: rombert@apache.org In-Reply-To: <151004822502.5134.13341828114614556652@gitbox.apache.org> References: <151004822502.5134.13341828114614556652@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: sling-org-apache-sling-jmx-provider X-Git-Refname: refs/tags/org.apache.sling.jmx.provider-0.6.0 X-Git-Reftype: annotated tag X-Git-Rev: 6f5fc977b7bee0f2d15644cede1fe0b5a2e30c8b X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20171107095025.B3A3E87A70@gitbox.apache.org> archived-at: Tue, 07 Nov 2017 09:57:10 -0000 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 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" .