NihalJain commented on code in PR #163:
URL: 
https://github.com/apache/phoenix-queryserver/pull/163#discussion_r1799256908


##########
phoenix-queryserver/src/main/java/org/apache/phoenix/util/InstanceResolver.java:
##########
@@ -68,10 +67,13 @@ public static <T> T getSingleton(Class<T> clazz, T 
defaultInstance) {
     @SuppressWarnings("unchecked")
     public static <T> List get(Class<T> clazz, List<T> defaultInstances) {
         Iterator<T> iterator = ServiceLoader.load(clazz).iterator();
+        List<T> instances = new ArrayList<>();

Review Comment:
   There is no guava in PQS, so had to do this inplace using lambdas. Should we 
sync same logic in Phoenix? This class seems to be present at both places.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to