You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2025/01/17 14:33:51 UTC
(directory-ldap-api) 02/03: Fix javadoc warnings
This is an automated email from the ASF dual-hosted git repository.
elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git
commit 84e86848c3c61078899d8c8a6f8f8f99e3963f15
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Fri Jan 17 15:33:11 2025 +0100
Fix javadoc warnings
---
.../codec/standalone/StandaloneLdapApiService.java | 11 +++++++++++
.../protocol/mina/LdapProtocolCodecActivator.java | 22 ++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java b/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java
index b35a8ef55..a7b6f8a41 100644
--- a/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java
+++ b/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java
@@ -99,13 +99,24 @@ public class StandaloneLdapApiService extends DefaultLdapCodecService
/** A Response control type */
RESPONSE( RESPONSE_CONTROLS_LIST );
+ /** The control's property */
private String property;
+ /**
+ * Create a ControlType with a property
+ *
+ * @param property The added property
+ */
ControlType( String property )
{
this.property = property;
}
+ /**
+ * Get the controlType's property
+ *
+ * @return The controlType's property
+ */
private String getProperty()
{
return property;
diff --git a/ldap/net/mina/src/main/java/org/apache/directory/api/ldap/codec/protocol/mina/LdapProtocolCodecActivator.java b/ldap/net/mina/src/main/java/org/apache/directory/api/ldap/codec/protocol/mina/LdapProtocolCodecActivator.java
index 5d3f7ec48..45ac5d1ba 100644
--- a/ldap/net/mina/src/main/java/org/apache/directory/api/ldap/codec/protocol/mina/LdapProtocolCodecActivator.java
+++ b/ldap/net/mina/src/main/java/org/apache/directory/api/ldap/codec/protocol/mina/LdapProtocolCodecActivator.java
@@ -36,20 +36,36 @@ import org.osgi.util.tracker.ServiceTrackerCustomizer;
*/
public class LdapProtocolCodecActivator implements BundleActivator
{
+ /** The LDapApi service tracker */
private ServiceTracker<LdapApiService, LdapApiService> serviceTracker;
+ /**
+ * A class used to track the LdapApi service
+ *
+ */
class LdapApiServiceTracker implements ServiceTrackerCustomizer<LdapApiService, LdapApiService>
{
+ /** The Bundle Context instance */
private BundleContext bundleContext;
+
+ /** The Serviceregistration instance */
private ServiceRegistration<?> registration;
+ /**
+ * Create a LdapApiServiceTracker instance with a context
+ *
+ * @param context The BundleContext for this instance
+ */
LdapApiServiceTracker( BundleContext context )
{
this.bundleContext = context;
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public LdapApiService addingService( ServiceReference<LdapApiService> reference )
{
@@ -61,6 +77,9 @@ public class LdapProtocolCodecActivator implements BundleActivator
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public void modifiedService( ServiceReference<LdapApiService> reference, LdapApiService service )
{
@@ -68,6 +87,9 @@ public class LdapProtocolCodecActivator implements BundleActivator
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public void removedService( ServiceReference<LdapApiService> reference, LdapApiService service )
{