knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject [knox] branch master updated: KNOX-1997 - Fix diamond operator compiliation error
Date Thu, 14 Nov 2019 14:01:32 GMT
This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new b144016  KNOX-1997 - Fix diamond operator compiliation error
b144016 is described below

commit b144016b629be5fd4c526e25e5d40d2c4265c761
Author: Kevin Risden <krisden@apache.org>
AuthorDate: Thu Nov 14 09:01:20 2019 -0500

    KNOX-1997 - Fix diamond operator compiliation error
    
    Signed-off-by: Kevin Risden <krisden@apache.org>
---
 .../java/org/apache/knox/gateway/websockets/ProxyWebSocketAdapter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gateway-server/src/main/java/org/apache/knox/gateway/websockets/ProxyWebSocketAdapter.java
b/gateway-server/src/main/java/org/apache/knox/gateway/websockets/ProxyWebSocketAdapter.java
index 6364a01..4274e6e 100644
--- a/gateway-server/src/main/java/org/apache/knox/gateway/websockets/ProxyWebSocketAdapter.java
+++ b/gateway-server/src/main/java/org/apache/knox/gateway/websockets/ProxyWebSocketAdapter.java
@@ -64,7 +64,7 @@ public class ProxyWebSocketAdapter extends WebSocketAdapter {
 
   /* Message buffer for holding data frames temporarily in memory till connection is setup.
    Keeping the max size of the buffer as 100 messages for now. */
-  private List<String> messageBuffer = new ArrayList<String>();
+  private List<String> messageBuffer = new ArrayList<>();
   private Lock remoteLock = new ReentrantLock();
 
   private final GatewayConfig config;


Mime
View raw message