You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by jo...@apache.org on 2022/02/25 15:17:27 UTC

[sling-org-apache-sling-models-impl] branch master updated (031c0eb -> c0475bf)

This is an automated email from the ASF dual-hosted git repository.

joerghoh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-models-impl.git.


    from 031c0eb  SLING-11133: cache models by picked implementation type (#35)
     new 8608fcd  SLING-8706 - Injections for java.util.Optional<> should be automatic optional
     new e4dca53  work in progress
     new e33658c  work in progress 2
     new 77f3f4c  work in progress 3
     new f16efce  fixes after review
     new c0475bf  Merge pull request #17 from etugarev/improvement/SLING-8706

The 330 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../sling/models/impl/ModelAdapterFactory.java     |  62 +++--
 .../impl/model/OptionalTypedInjectableElement.java |  86 +++++++
 .../sling/models/impl/OptionalObjectsTest.java     | 237 +++++++++++++++++++
 .../testmodels/classes/OptionalObjectsModel.java   | 253 +++++++++++++++++++++
 4 files changed, 621 insertions(+), 17 deletions(-)
 create mode 100644 src/main/java/org/apache/sling/models/impl/model/OptionalTypedInjectableElement.java
 create mode 100644 src/test/java/org/apache/sling/models/impl/OptionalObjectsTest.java
 create mode 100644 src/test/java/org/apache/sling/models/testmodels/classes/OptionalObjectsModel.java