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

GitHub noreply at github.com
Wed Apr 25 13:37:51 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 8b32a5bbf229ba7ab040216b9eb17f09ac512ffb
      https://github.com/hibernate/hibernate-search/commit/8b32a5bbf229ba7ab040216b9eb17f09ac512ffb
  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 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