SLING-5032 - Even if a field is annotated with Source the ModelAdapterFactory will...
authorRadu Cotescu <radu@apache.org>
Mon, 21 Sep 2015 10:33:46 +0000 (10:33 +0000)
committerRadu Cotescu <radu@apache.org>
Mon, 21 Sep 2015 10:33:46 +0000 (10:33 +0000)
commit185db29835bde049f888efa7b23ed6cf152e8957
tree2d37429ee844f4168a2e1bec1a5058213f2fbf6f
parent8317756664a0ef7dd3150631b8b636a4e99a2f01
SLING-5032 - Even if a field is annotated with Source the ModelAdapterFactory will query all injectors

* allow retrieving an injector directly if @Source is used, without iterating through all registered injectors

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1704257 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/sling/models/impl/ModelAdapterFactory.java
src/test/java/org/apache/sling/models/impl/MultipleInjectorTest.java