From 61b9eb1be03fc03a9f4bb0013a08ff44a1059503 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 14:25:46 +0000
Subject: [PATCH] opendj-server-legacy: added @Override + Autorefactor'ed comments
---
opendj-server-legacy/src/main/java/org/opends/server/extensions/VirtualStaticGroup.java | 62 -------------------------------
1 files changed, 0 insertions(+), 62 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/extensions/VirtualStaticGroup.java b/opendj-server-legacy/src/main/java/org/opends/server/extensions/VirtualStaticGroup.java
index 618c327..f5fa0ff 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/extensions/VirtualStaticGroup.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/extensions/VirtualStaticGroup.java
@@ -62,8 +62,6 @@
/** The DN of the target group that will provide membership information. */
private DN targetGroupDN;
-
-
/**
* Creates a new, uninitialized virtual static group instance. This is
* intended for internal use only.
@@ -75,8 +73,6 @@
// No initialization is required here.
}
-
-
/**
* Creates a new virtual static group instance with the provided information.
*
@@ -96,9 +92,6 @@
this.targetGroupDN = targetGroupDN;
}
-
-
- /** {@inheritDoc} */
@Override
public void initializeGroupImplementation(
VirtualStaticGroupImplementationCfg configuration)
@@ -107,17 +100,12 @@
// No additional initialization is required.
}
-
-
-
- /** {@inheritDoc} */
@Override
public VirtualStaticGroup newInstance(ServerContext serverContext, Entry groupEntry)
throws DirectoryException
{
ifNull(groupEntry);
-
// Get the target group DN attribute from the entry, if there is one.
DN targetDN = null;
AttributeType targetType = DirectoryServer.getAttributeType(ATTR_TARGET_GROUP_DN);
@@ -155,9 +143,6 @@
return new VirtualStaticGroup(groupEntry.getName(), targetDN);
}
-
-
- /** {@inheritDoc} */
@Override
public SearchFilter getGroupDefinitionFilter()
throws DirectoryException
@@ -168,9 +153,6 @@
OC_VIRTUAL_STATIC_GROUP + ")");
}
-
-
- /** {@inheritDoc} */
@Override
public boolean isGroupDefinition(Entry entry)
{
@@ -183,26 +165,18 @@
return entry.hasObjectClass(virtualStaticGroupClass);
}
-
-
- /** {@inheritDoc} */
@Override
public DN getGroupDN()
{
return groupEntryDN;
}
-
-
- /** {@inheritDoc} */
@Override
public void setGroupDN(DN groupDN)
{
groupEntryDN = groupDN;
}
-
-
/**
* Retrieves the DN of the target group for this virtual static group.
*
@@ -213,9 +187,6 @@
return targetGroupDN;
}
-
-
- /** {@inheritDoc} */
@Override
public boolean supportsNestedGroups()
{
@@ -223,9 +194,6 @@
return false;
}
-
-
- /** {@inheritDoc} */
@Override
public List<DN> getNestedGroupDNs()
{
@@ -233,9 +201,6 @@
return Collections.<DN>emptyList();
}
-
-
- /** {@inheritDoc} */
@Override
public void addNestedGroup(DN nestedGroupDN)
throws UnsupportedOperationException, DirectoryException
@@ -245,9 +210,6 @@
throw new UnsupportedOperationException(message.toString());
}
-
-
- /** {@inheritDoc} */
@Override
public void removeNestedGroup(DN nestedGroupDN)
throws UnsupportedOperationException, DirectoryException
@@ -257,9 +219,6 @@
throw new UnsupportedOperationException(message.toString());
}
-
-
- /** {@inheritDoc} */
@Override
public boolean isMember(DN userDN, Set<DN> examinedGroups)
throws DirectoryException
@@ -287,9 +246,6 @@
}
}
-
-
- /** {@inheritDoc} */
@Override
public boolean isMember(Entry userEntry, Set<DN> examinedGroups)
throws DirectoryException
@@ -317,9 +273,6 @@
}
}
-
-
- /** {@inheritDoc} */
@Override
public MemberList getMembers()
throws DirectoryException
@@ -342,9 +295,6 @@
}
}
-
-
- /** {@inheritDoc} */
@Override
public MemberList getMembers(DN baseDN, SearchScope scope,
SearchFilter filter)
@@ -368,16 +318,12 @@
}
}
-
-
- /** {@inheritDoc} */
@Override
public boolean mayAlterMemberList()
{
return false;
}
- /** {@inheritDoc} */
@Override
public void updateMembers(List<Modification> modifications)
throws UnsupportedOperationException, DirectoryException
@@ -387,7 +333,6 @@
throw new UnsupportedOperationException(message.toString());
}
- /** {@inheritDoc} */
@Override
public void addMember(Entry userEntry)
throws UnsupportedOperationException, DirectoryException
@@ -397,9 +342,6 @@
throw new UnsupportedOperationException(message.toString());
}
-
-
- /** {@inheritDoc} */
@Override
public void removeMember(DN userDN)
throws UnsupportedOperationException, DirectoryException
@@ -409,9 +351,6 @@
throw new UnsupportedOperationException(message.toString());
}
-
-
- /** {@inheritDoc} */
@Override
public void toString(StringBuilder buffer)
{
@@ -422,4 +361,3 @@
buffer.append(")");
}
}
-
--
Gitblit v1.10.0