From 56d395d9353c03c4594a1045d9ac7397718d2e5c Mon Sep 17 00:00:00 2001 From: Diego Alonso Marquez Palacios Date: Thu, 2 Jan 2025 22:08:49 -0500 Subject: [PATCH] fix checkstyle violations in datastore --- .../repository/query/DatastoreQueryLookupStrategyTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-gcp-data-datastore/src/test/java/com/google/cloud/spring/data/datastore/repository/query/DatastoreQueryLookupStrategyTests.java b/spring-cloud-gcp-data-datastore/src/test/java/com/google/cloud/spring/data/datastore/repository/query/DatastoreQueryLookupStrategyTests.java index 55e9487217..314ebed614 100644 --- a/spring-cloud-gcp-data-datastore/src/test/java/com/google/cloud/spring/data/datastore/repository/query/DatastoreQueryLookupStrategyTests.java +++ b/spring-cloud-gcp-data-datastore/src/test/java/com/google/cloud/spring/data/datastore/repository/query/DatastoreQueryLookupStrategyTests.java @@ -102,8 +102,8 @@ void resolveSqlQueryTest(boolean useValueExpressionDelegate) { } private DatastoreQueryLookupStrategy getDatastoreQueryLookupStrategy(boolean useValueExpressionDelegate) { - return useValueExpressionDelegate ? - getDatastoreQueryLookupStrategy(this.valueExpressionDelegate) + return useValueExpressionDelegate + ? getDatastoreQueryLookupStrategy(this.valueExpressionDelegate) : getDatastoreQueryLookupStrategy(this.evaluationContextProvider); }