tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfis...@apache.org
Subject [3/4] tomee git commit: Update ManagedExecutorServiceImpl.java
Date Sat, 03 Nov 2018 19:19:40 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/8e907820
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/8e907820
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/8e907820

Branch: refs/heads/tomee-7.0.x
Commit: 8e907820e35c4f6ac666e0a80bfe0be6385c7e1a
Parents: 0c36aa3
Author: Jonathan S. Fisher <exabrial@gmail.com>
Authored: Tue Sep 25 13:34:03 2018 -0500
Committer: GitHub <noreply@github.com>
Committed: Tue Sep 25 13:34:03 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/8e907820/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