Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1701911 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/test/java/org/apache/felix/scr/integration/Felix4984Test.java b/scr/src/test/java/org/apache/felix/scr/integration/Felix4984Test.java
index 7a03fbc..c506c85 100644
--- a/scr/src/test/java/org/apache/felix/scr/integration/Felix4984Test.java
+++ b/scr/src/test/java/org/apache/felix/scr/integration/Felix4984Test.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.felix.scr.integration;
import static junit.framework.Assert.assertEquals;
@@ -28,7 +46,7 @@
}
/**
- * A > 1.1 > B > 0..n > A
+ * A > 1.1 > B > 0..n > A
* This test validates that A is bound to one B instance. See FELIX-4984 for more informations.
*/
@Test
@@ -36,8 +54,8 @@
{
Bundle bundle = findABBundle(bundleContext);
bundle.stop();
-
- for (int i = 0; i < 1000; i ++) {
+
+ for (int i = 0; i < 1000; i ++) {
bundle.start();
String componentNameA = "felix4984.A.1.1.dynamic";
@@ -65,7 +83,7 @@
bundle.stop();
}
}
-
+
private Bundle findABBundle(BundleContext ctx) {
for (Bundle b : ctx.getBundles()) {
if (b.getSymbolicName().equals("simplecomponent")) {
@@ -74,7 +92,7 @@
}
throw new IllegalStateException("bundle \"simplecomponent\" not found");
}
-
+
private void assertABoundToOneB(A a) {
if (a.getBs().size() != 1) {
log.log(LogService.LOG_WARNING, "detected problem ...");