deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject deltaspike git commit: DELTASPIKE-1036 Support for returning optional when object should be a single result type. Missed exceptions.
Date Fri, 03 Jun 2016 01:46:38 GMT
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 <johndament@apache.org>
Authored: Thu Jun 2 21:46:34 2016 -0400
Committer: John D. Ament <johndament@apache.org>
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;
     }


Mime
View raw message