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 E3B18200B0F for ; Fri, 3 Jun 2016 03:46:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E261E160A52; Fri, 3 Jun 2016 01:46:39 +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 34137160A51 for ; Fri, 3 Jun 2016 03:46:39 +0200 (CEST) Received: (qmail 71786 invoked by uid 500); 3 Jun 2016 01:46:38 -0000 Mailing-List: contact commits-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltaspike.apache.org Delivered-To: mailing list commits@deltaspike.apache.org Received: (qmail 71777 invoked by uid 99); 3 Jun 2016 01:46:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2016 01:46:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 50729DFE65; Fri, 3 Jun 2016 01:46:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: johndament@apache.org To: commits@deltaspike.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: deltaspike git commit: DELTASPIKE-1036 Support for returning optional when object should be a single result type. Missed exceptions. Date: Fri, 3 Jun 2016 01:46:38 +0000 (UTC) archived-at: Fri, 03 Jun 2016 01:46:40 -0000 Repository: deltaspike Updated Branches: refs/heads/master b722b8f47 -> d2adacf41 DELTASPIKE-1036 Support for returning optional when object should be a single result type. Missed exceptions. Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/d2adacf4 Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/d2adacf4 Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/d2adacf4 Branch: refs/heads/master Commit: d2adacf41a85643616a56130d1ab3e38664e3634 Parents: b722b8f Author: John D. Ament Authored: Thu Jun 2 21:46:34 2016 -0400 Committer: John D. Ament Committed: Thu Jun 2 21:46:34 2016 -0400 ---------------------------------------------------------------------- .../main/java/org/apache/deltaspike/core/util/OptionalUtil.java | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/d2adacf4/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/OptionalUtil.java ---------------------------------------------------------------------- diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/OptionalUtil.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/OptionalUtil.java index 9782bf7..ada1ef2 100644 --- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/OptionalUtil.java +++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/OptionalUtil.java @@ -66,11 +66,9 @@ public abstract class OptionalUtil } catch (IllegalAccessException e) { - e.printStackTrace(); } catch (InvocationTargetException e) { - e.printStackTrace(); } return null; }