[hibernate-commits] [hibernate/hibernate-search] 073233: HSEARCH-3067 Remove any mention of explicit initia...

Yoann Rodière noreply at github.com
Fri Jun 21 06:30:42 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 0732332b17ab87e2c3bc10f6d1898d7c448b36c3
      https://github.com/hibernate/hibernate-search/commit/0732332b17ab87e2c3bc10f6d1898d7c448b36c3
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-06-21 (Fri, 21 Jun 2019)

  Changed paths:
    M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PojoRuntimeIntrospector.java

  Log Message:
  -----------
  HSEARCH-3067 Remove any mention of explicit initialization of lazy collection/map/array in PojoRuntimeIntrospector

It turns out that notion is obsolete.

There are remnants in the legacy code in
org.hibernate.search.spi.InstanceInitializer#initializeCollection
for example, but all implementations are no-op as of
8bc0e2397badba01433aaded8c619f5d89110c57.

Judging from that commit's message, this initialization was only useful
when dealing detached collections, and "we don't have to" do it anymore.
It was an SPI, but as far as I can tell it wasn't useful in any know
integration, so let's remove it for now and restore it if someone asks
for it (nicely).





More information about the hibernate-commits mailing list