tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfis...@apache.org
Subject [3/3] tomee git commit: Update ManagedExecutorServiceImpl.java
Date Sat, 03 Nov 2018 19:24:35 GMT
Update ManagedExecutorServiceImpl.java

Needs to return an Integer, not a long

Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/285458dd
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/285458dd
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/285458dd

Branch: refs/heads/master
Commit: 285458dd1160b30942026e0a876a88dedac04cb8
Parents: 70bf6fc
Author: Jonathan S. Fisher <exabrial@gmail.com>
Authored: Tue Sep 25 13:34:03 2018 -0500
Committer: Jonathan S. Fisher <exabrial@gmail.com>
Committed: Sat Nov 3 14:24:12 2018 -0500

----------------------------------------------------------------------
 .../apache/openejb/threads/impl/ManagedExecutorServiceImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/285458dd/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
b/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
index bea9d1d..68b27e8 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
@@ -101,7 +101,7 @@ public class ManagedExecutorServiceImpl extends AbstractExecutorService
implemen
         }
     }
 
-    public Long getQueueSize() {
+    public Integer getQueueSize() {
         if (delegate instanceof ThreadPoolExecutor) {
             return ((ThreadPoolExecutor) delegate).getQueue().size();
         } else {


Mime
View raw message