CookieAroundTheBend commented on code in PR #13244:
URL: https://github.com/apache/druid/pull/13244#discussion_r1028125861
##########
core/src/main/java/org/apache/druid/guice/GuiceAnnotationIntrospector.java:
##########
@@ -58,9 +58,9 @@ public Object findInjectableValueId(AnnotatedMember m)
if (m instanceof AnnotatedMethod) {
throw new IAE("Annotated methods don't work very well yet...");
}
- return Key.get(m.getGenericType());
+ return Key.get(m.getType());
}
- return Key.get(m.getGenericType(), guiceAnnotation);
+ return Key.get(m.getType(), guiceAnnotation);
}
Review Comment:
This is needed for the changes for the StorageSelection
https://github.com/apache/druid/pull/10363/files#diff-6bf786a6df7322201eee2b85d1a1857fc89af11af98c47be9c97449627d0673f
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]