sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-whiteboard] 07/09: Formatting
Date Wed, 08 May 2019 16:16:11 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git

commit 27d8acc163c43492c7b6c4d9f1649cdb02bc822e
Author: Robert Munteanu <rombert@apache.org>
AuthorDate: Tue May 7 11:43:47 2019 +0200

    Formatting
---
 .../main/java/org/apache/sling/tooling/msra/impl/IndexQuerier.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/maven-sources-report-aggregator/src/main/java/org/apache/sling/tooling/msra/impl/IndexQuerier.java
b/maven-sources-report-aggregator/src/main/java/org/apache/sling/tooling/msra/impl/IndexQuerier.java
index 5fa7353..5324732 100644
--- a/maven-sources-report-aggregator/src/main/java/org/apache/sling/tooling/msra/impl/IndexQuerier.java
+++ b/maven-sources-report-aggregator/src/main/java/org/apache/sling/tooling/msra/impl/IndexQuerier.java
@@ -157,12 +157,15 @@ public class IndexQuerier {
         Query groupId = indexer.constructQuery(MAVEN.GROUP_ID, new SourcedSearchExpression(queryGroupId));
         Query packaging = indexer.constructQuery(MAVEN.PACKAGING, new SourcedSearchExpression("pom"));
 
-        BooleanQuery bq = new BooleanQuery.Builder().add(groupId, Occur.MUST).add(packaging,
Occur.MUST_NOT).build();
+        BooleanQuery bq = new BooleanQuery.Builder()
+            .add(groupId, Occur.MUST)
+            .add(packaging, Occur.MUST_NOT)
+            .build();
 
         searchAndDump(indexer, "all " + queryGroupId + " artifacts", bq);
     }
 
-    public void searchAndDump(Indexer nexusIndexer, String descr, Query q) throws IOException
{
+    private void searchAndDump(Indexer nexusIndexer, String descr, Query q) throws IOException
{
         logger.info("Searching for {}", descr);
 
         GroupedSearchResponse response = nexusIndexer


Mime
View raw message