You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/05/08 16:16:11 UTC

[sling-whiteboard] 07/09: Formatting

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 <ro...@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