[grizzly~git:7cbc1704] [2.3.x] + fix findbugs issues

  • From: oleksiys@...
  • To: commits@...
  • Subject: [grizzly~git:7cbc1704] [2.3.x] + fix findbugs issues
  • Date: Wed, 17 Jul 2013 19:50:17 +0000

Project:    grizzly
Repository: git
Revision:   7cbc1704cd3478188282ee115e68706d8def606f
Author:     oleksiys
Date:       2013-07-17 19:49:56 UTC
Link:       

Log Message:
------------
[2.3.x] + fix findbugs issues



Revisions:
----------
7cbc1704cd3478188282ee115e68706d8def606f


Modified Paths:
---------------
extras/connection-pool/src/main/java/org/glassfish/grizzly/connectionpool/MultiEndpointPool.java


Diffs:
------
--- 
a/extras/connection-pool/src/main/java/org/glassfish/grizzly/connectionpool/MultiEndpointPool.java
+++ 
b/extras/connection-pool/src/main/java/org/glassfish/grizzly/connectionpool/MultiEndpointPool.java
@@ -631,7 +631,7 @@ public class MultiEndpointPool<E> {
 
         @Override
         protected boolean checkBeforeOpeningConnection() {
-            if (isMaxCapacityReached()) {
+            if (this.isMaxCapacityReached()) {
                 return false;
             }
             
@@ -695,7 +695,7 @@ public class MultiEndpointPool<E> {
         
         private void onMaxPoolSizeHit() {
             if (maxPoolSizeHits++ == 0) {
-                if (size() > 0) {
+                if (this.size() > 0) {
                     maxPoolSizeHitsChain.offerLast(maxPoolSizeHitsLink);
                 } else { // if max pool size hit on empty pool - raise its 
priority
                     final Link<EndpointPoolImpl> head =





[grizzly~git:7cbc1704] [2.3.x] + fix findbugs issues

oleksiys 07/17/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150226.965aeb8)
 
 
Close
loading
Please Confirm
Close