diff --git a/molgenis-data-semanticsearch/src/main/java/org/molgenis/data/semanticsearch/service/impl/SemanticSearchServiceHelper.java b/molgenis-data-semanticsearch/src/main/java/org/molgenis/data/semanticsearch/service/impl/SemanticSearchServiceHelper.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-semanticsearch/src/main/java/org/molgenis/data/semanticsearch/service/impl/SemanticSearchServiceHelper.java
+++ b/molgenis-data-semanticsearch/src/main/java/org/molgenis/data/semanticsearch/service/impl/SemanticSearchServiceHelper.java
@@ -208,7 +208,7 @@ public class SemanticSearchServiceHelper
 	{
 		Map<String, String> expandedQueryMap = new LinkedHashMap<String, String>();
 
-		queryTerms.stream().filter(queryTerm -> StringUtils.isNotBlank(queryTerm))
+		queryTerms.stream().filter(StringUtils::isNotBlank)
 				.forEach(queryTerm -> expandedQueryMap.put(stemmer.cleanStemPhrase(queryTerm), queryTerm));
 
 		for (OntologyTerm ontologyTerm : ontologyTerms)
use the method reference in the lamda expression in SemanticSearchServiceHlper