etugarev commented on a change in pull request #17:
URL: 
https://github.com/apache/sling-org-apache-sling-models-impl/pull/17#discussion_r444165885



##########
File path: src/main/java/org/apache/sling/models/impl/ModelAdapterFactory.java
##########
@@ -495,12 +480,97 @@ public RuntimeException inject(InjectableElement element, 
Object value) {
         }
     }
 
+    @NotNull
+    private InjectableElement getElement(InjectableElement element, Type type) 
{

Review comment:
       Moved implementation to a named class `OptionalTypedInjectableElement`




----------------------------------------------------------------
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:
[email protected]


Reply via email to