[hibernate-commits] [hibernate/hibernate-search] 6e5ed3: HSEARCH-1968 Add unit tests for a NullPointerExcep...

GitHub noreply at github.com
Tue Aug 18 17:37:06 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 6e5ed35c0259cacfc5831c1f647ef799db1cc131
      https://github.com/hibernate/hibernate-search/commit/6e5ed35c0259cacfc5831c1f647ef799db1cc131
  Author: Marcel Barbosa Pinto <mbppower at hotmail.com>
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
    A orm/src/test/java/org/hibernate/search/test/query/facet/NoQueryResultsFacetingTest.java

  Log Message:
  -----------
  HSEARCH-1968 Add unit tests for a NullPointerException on empty results with Faceting Queries

Revels a NullPointerException where there is no results on Lucene Query


  Commit: 26861ea38ffcb2f221bc07c97ae7e1f0b4e6d61a
      https://github.com/hibernate/hibernate-search/commit/26861ea38ffcb2f221bc07c97ae7e1f0b4e6d61a
  Author: mbppower <mbppower at hotmail.com>
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
    M engine/src/main/java/org/hibernate/search/query/engine/impl/QueryHits.java
    M orm/src/test/java/org/hibernate/search/test/query/facet/NoQueryResultsFacetingTest.java

  Log Message:
  -----------
  HSEARCH-1968 Avoid the NPE on empty results during a Faceting Query

Fix for NullPointerException when there is no results on query


  Commit: f21365deb37033f5e21057b2f326b08ba962a6ec
      https://github.com/hibernate/hibernate-search/commit/f21365deb37033f5e21057b2f326b08ba962a6ec
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
    M engine/src/main/java/org/hibernate/search/query/engine/impl/QueryHits.java

  Log Message:
  -----------
  HSEARCH-1968 Add some comments and avoid the same mistake in another usage of the same Lucene method


Compare: https://github.com/hibernate/hibernate-search/compare/c8426d1ac502...f21365deb370


More information about the hibernate-commits mailing list