Sonar metrics for OpenMRS Core Master

Build: #1000 was successful

Job: Sonar Full Analysis was successful

Stages & jobs

  1. Sonar Analysis

Code commits

Git

  • Daniel Kayiwa

    Daniel Kayiwa 0e2179949671320d3e00dafc3c07a7aef284c957

    Merge pull request #1825 from Schwasrz94/concept-class-filter
    TRUNK-4922 ConceptDAO filters concept classes only if results were found

  • Dominik Schwarz <dominik.schwarz1994@gmail.com>

    Dominik Schwarz <dominik.schwarz1994@gmail.com> 71503dbdf6e572d69efd2a0737e6075f0ea0063c m

    TRUNK-4922 ConceptDAO filters concept classes only if results were found
    The skipSame-method in LuceneQuery generates a new instance of
    fullTextQuery even if there are no search results. In this way all
    concepts will be returned without filtering them.

    * only call buildQuery() in skipSame when results were found
    * add test to ConceptServiceTest

    • api/src/main/java/org/openmrs/api/db/hibernate/search/LuceneQuery.java (version 71503dbdf6e572d69efd2a0737e6075f0ea0063c)
    • api/src/test/java/org/openmrs/api/ConceptServiceTest.java (version 71503dbdf6e572d69efd2a0737e6075f0ea0063c)