murblanc commented on a change in pull request #2101: URL: https://github.com/apache/lucene-solr/pull/2101#discussion_r535346975
########## File path: solr/core/src/java/org/apache/solr/api/ContainerPluginsRegistry.java ########## @@ -422,7 +421,10 @@ public static Class getConfigClass(ConfigurablePlugin<?> o) { for (Type type : interfaces) { if (type instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedType) type; - if (parameterizedType.getRawType() == ConfigurablePlugin.class) { + Type rawType = parameterizedType.getRawType(); + if (rawType == ConfigurablePlugin.class || Review comment: Is it worth keeping `rawType == ConfigurablePlugin.class` in the if condition? It's covered by the second operand of the OR. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org