You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2020/02/22 20:57:27 UTC

[sling-org-apache-sling-commons-contentdetection] 01/02: style

This is an automated email from the ASF dual-hosted git repository.

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

commit 035b6398df6f19fee526a44c326f7cc4d9819666
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sat Feb 22 21:55:49 2020 +0100

    style
---
 .../contentdetection/internal/it/ContentdetectionTestSupport.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/sling/commons/contentdetection/internal/it/ContentdetectionTestSupport.java b/src/test/java/org/apache/sling/commons/contentdetection/internal/it/ContentdetectionTestSupport.java
index c5c0a8b..0f5691d 100644
--- a/src/test/java/org/apache/sling/commons/contentdetection/internal/it/ContentdetectionTestSupport.java
+++ b/src/test/java/org/apache/sling/commons/contentdetection/internal/it/ContentdetectionTestSupport.java
@@ -24,19 +24,20 @@ import org.ops4j.pax.exam.options.ModifiableCompositeOption;
 import static org.apache.sling.testing.paxexam.SlingOptions.slingQuickstartOakTar;
 import static org.ops4j.pax.exam.CoreOptions.composite;
 import static org.ops4j.pax.exam.CoreOptions.junitBundles;
+import static org.ops4j.pax.exam.CoreOptions.options;
 
 public abstract class ContentdetectionTestSupport extends TestSupport {
 
     @Configuration
     public Option[] configuration() {
-        return new Option[]{
+        return options(
             baseConfiguration(),
             slingQuickstart(),
             // Sling Content Detection
             testBundle("bundle.filename"),
             // testing
             junitBundles()
-        };
+        );
     }
 
     protected ModifiableCompositeOption slingQuickstart() {