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-metrics.git

commit 165573b55106493b657c260a49b1dc51c43100b4
Author: Oliver Lietz <[email protected]>
AuthorDate: Sun Feb 23 00:56:41 2020 +0100

    style
---
 .../apache/sling/commons/metrics/test/MetricsServiceFactoryIT.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/src/test/java/org/apache/sling/commons/metrics/test/MetricsServiceFactoryIT.java
 
b/src/test/java/org/apache/sling/commons/metrics/test/MetricsServiceFactoryIT.java
index a0184f9..dd8f339 100644
--- 
a/src/test/java/org/apache/sling/commons/metrics/test/MetricsServiceFactoryIT.java
+++ 
b/src/test/java/org/apache/sling/commons/metrics/test/MetricsServiceFactoryIT.java
@@ -37,6 +37,7 @@ import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.fail;
 import static org.ops4j.pax.exam.CoreOptions.junitBundles;
 import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
+import static org.ops4j.pax.exam.CoreOptions.options;
 
 @RunWith(PaxExam.class)
 @ExamReactorStrategy(PerClass.class)
@@ -47,14 +48,14 @@ public class MetricsServiceFactoryIT extends TestSupport {
 
     @Configuration
     public Option[] configuration() {
-        return new Option[]{
+        return options(
             baseConfiguration(),
             scr(),
             // Commons Metrics
             testBundle("bundle.filename"),
             
mavenBundle().groupId("io.dropwizard.metrics").artifactId("metrics-core").versionAsInProject(),
             junitBundles()
-        };
+        );
     }
 
     @Test

Reply via email to