jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Peierls <notificati...@github.com>
Subject Re: [jclouds/jclouds] JCLOUDS-1334: Guava 23 compatibility (SimpleTimeLimiter creation) (#1133)
Date Sat, 26 Aug 2017 21:55:08 GMT
Tembrel commented on this pull request.



> +   }
+
+   static SimpleTimeLimiter createSimpleTimeLimiter(ExecutorService executorService) {
+      try {
+         if (CREATE_STL != null) {
+            return (SimpleTimeLimiter) CREATE_STL.invoke(null, executorService);
+         } else if (CONSTRUCT_STL != null) {
+            return CONSTRUCT_STL.newInstance(executorService);
+         }
+         // fall through
+      } catch (IllegalAccessException iae) {
+         // fall through
+      } catch (InstantiationException ie) {
+         // fall through
+      } catch (InvocationTargetException ite) {
+         // fall through

Done

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1133#discussion_r135398497
Mime
View raw message