This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch fix/endpoint-discovery-impl
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/fix/endpoint-discovery-impl by 
this push:
     new 102d8a7  fix warnings
102d8a7 is described below

commit 102d8a792884e627feea375e80453b2b0d5eb9b9
Author: Enrico Olivelli <[email protected]>
AuthorDate: Thu Dec 12 16:10:08 2019 +0100

    fix warnings
---
 .../main/java/org/apache/bookkeeper/discover/ZKRegistrationClient.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/ZKRegistrationClient.java
 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/ZKRegistrationClient.java
index c7cfd69..f49445d 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/ZKRegistrationClient.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/ZKRegistrationClient.java
@@ -253,6 +253,7 @@ public class ZKRegistrationClient implements 
RegistrationClient {
         return res;
     }
 
+    @SuppressWarnings("unchecked")
     private static BookieServiceInfo deserializeBookieService(byte[] 
bookieServiceInfo) {
         Map<String, String> map = Collections.emptyMap();
         if (bookieServiceInfo != null && bookieServiceInfo.length > 0) {

Reply via email to