[hibernate-commits] [hibernate/hibernate-search] ae4919: HSEARCH-3134 Fix and test error messages when pass...

GitHub noreply at github.com
Wed Apr 25 13:47:24 EDT 2018


  Branch: refs/heads/5.9
  Home:   https://github.com/hibernate/hibernate-search
  Commit: ae49192b7892a9b1802097ad38d5e870a813032d
      https://github.com/hibernate/hibernate-search/commit/ae49192b7892a9b1802097ad38d5e870a813032d
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M engine/src/main/java/org/hibernate/search/spi/impl/IndexedTypeSets.java
    M engine/src/main/java/org/hibernate/search/util/logging/impl/Log.java
    M engine/src/test/java/org/hibernate/search/test/engine/typehandling/BasicTypeCollectionsTest.java
    M orm/src/main/java/org/hibernate/search/batchindexing/impl/MassIndexerImpl.java
    M orm/src/test/java/org/hibernate/search/test/batchindexing/SearchIndexerTest.java

  Log Message:
  -----------
  HSEARCH-3134 Fix and test error messages when passing incorrect types to the mass indexer

The message was previously mentioning "subclasses" whereas it should
have mentioned "superclasses".
Also, the error reporting was less subtle than what we do in
AbstractHSQuery, so I copied the code from AbstractHSQuery.




More information about the hibernate-commits mailing list