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 2017/11/07 10:19:51 UTC

[sling-org-apache-sling-testing-osgi-mock] 09/12: cosmetic: fix javadoc errors

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

rombert pushed a commit to annotated tag org.apache.sling.testing.osgi-mock-1.6.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-osgi-mock.git

commit 3e81888f70a2cf5eee050237285ddf4154cd2075
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Sat Oct 3 00:18:13 2015 +0000

    cosmetic: fix javadoc errors
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/osgi-mock@1706512 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/testing/mock/osgi/MockBundle.java | 1 +
 src/main/java/org/apache/sling/testing/mock/osgi/MockOsgi.java   | 9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/sling/testing/mock/osgi/MockBundle.java b/src/main/java/org/apache/sling/testing/mock/osgi/MockBundle.java
index 32a3528..1a7a7c1 100644
--- a/src/main/java/org/apache/sling/testing/mock/osgi/MockBundle.java
+++ b/src/main/java/org/apache/sling/testing/mock/osgi/MockBundle.java
@@ -51,6 +51,7 @@ public final class MockBundle implements Bundle {
 
     /**
      * Constructor
+     * @param bundleContext Bundle context
      */
     public MockBundle(BundleContext bundleContext) {
         this.bundleId = ++bundleCounter;
diff --git a/src/main/java/org/apache/sling/testing/mock/osgi/MockOsgi.java b/src/main/java/org/apache/sling/testing/mock/osgi/MockOsgi.java
index f3ed656..af48885 100644
--- a/src/main/java/org/apache/sling/testing/mock/osgi/MockOsgi.java
+++ b/src/main/java/org/apache/sling/testing/mock/osgi/MockOsgi.java
@@ -152,7 +152,7 @@ public final class MockOsgi {
      * @param target Service instance.
      * @param properties Properties
      * @return true if activation method was called. False if no activate method is defined.
-     * @deprecated Please use {@link #activate(Object, BundleContext, Dictionary))}
+     * @deprecated Please use {@link #activate(Object, BundleContext, Dictionary)}
      *   and shutdown the bundle context after usage.
      */
     @Deprecated
@@ -167,7 +167,7 @@ public final class MockOsgi {
      * @param target Service instance.
      * @param properties Properties
      * @return true if activation method was called. False if no activate method is defined.
-     * @deprecated Please use {@link #activate(Object, BundleContext, Map)))}
+     * @deprecated Please use {@link #activate(Object, BundleContext, Map)}
      *   and shutdown the bundle context after usage.
      */
     @Deprecated
@@ -226,7 +226,7 @@ public final class MockOsgi {
      * @param target Service instance.
      * @param properties Properties
      * @return true if deactivation method was called. False if no deactivate method is defined.
-     * @deprecated Please use {@link #deactivate(Object, BundleContext, Dictionary))}
+     * @deprecated Please use {@link #deactivate(Object, BundleContext, Dictionary)}
      *   and shutdown the bundle context after usage.
      */
     @Deprecated
@@ -241,7 +241,7 @@ public final class MockOsgi {
      * @param target Service instance.
      * @param properties Properties
      * @return true if deactivation method was called. False if no deactivate method is defined.
-     * @deprecated Please use {@link #deactivate(Object, BundleContext, Map)))}
+     * @deprecated Please use {@link #deactivate(Object, BundleContext, Map)}
      *   and shutdown the bundle context after usage.
      */
     @Deprecated
@@ -298,6 +298,7 @@ public final class MockOsgi {
     
     /**
      * Deactivates all bundles registered in the mocked bundle context.
+     * @param bundleContext Bundle context
      */
     public static void shutdown(BundleContext bundleContext) {
         ((MockBundleContext)bundleContext).shutdown();

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.