Skip to content

Commit

Permalink
Checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Jan 12, 2024
1 parent 0c7e71a commit 01e2e99
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public enum SearchScope {
false, CollectionUtil.newList("cn"));

private final ObjectClassMappingConfig anyObjectConfig = new ObjectClassMappingConfig(
LdapSchemaMapping.ANY_OBJECT_CLASS,
LdapSchemaMapping.ANY_OBJECT_CLASS,
CollectionUtil.newList("top"),
false, CollectionUtil.newList(DEFAULT_ID_ATTRIBUTE));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import net.tirasa.connid.bundles.ldap.commons.LdapEntry;
import net.tirasa.connid.bundles.ldap.commons.LdapUtil;
import net.tirasa.connid.bundles.ldap.commons.StatusManagement;
import net.tirasa.connid.bundles.ldap.schema.LdapSchemaMapping;
import org.identityconnectors.common.CollectionUtil;
import org.identityconnectors.common.StringUtil;
import org.identityconnectors.common.logging.Log;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ private void doCreateDevice(ConnectorFacade facade) {

}


@Test
public void createBinaryAttributes() throws IOException {
ConnectorFacade facade = newFacade();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public void configurableGroupScope() {
@Test
public void configurableAnyObjectScope() {
LdapConfiguration configuration = newConfiguration();
configuration.setAnyObjectSearchScope("object");
configuration.setAnyObjectSearchScope("object");
configuration.setAnyObjectClasses("top", "organization");
ConnectorFacade facade = newFacade(configuration);

Expand All @@ -435,7 +435,8 @@ public void configurableAnyObjectScope() {
facade = newFacade(configuration);

// We can get the 'carrot laptop' device with an 'object' search by DN
ConnectorObject carrotLaptop = searchByAttribute(facade, LdapSchemaMapping.ANY_OBJECT_CLASS, new Name(CARROT_LAPTOP_DN));
ConnectorObject carrotLaptop = searchByAttribute(
facade, LdapSchemaMapping.ANY_OBJECT_CLASS, new Name(CARROT_LAPTOP_DN));
assertNotNull(carrotLaptop);

// Reconfigure for 'onelevel' search
Expand Down Expand Up @@ -554,7 +555,7 @@ public void anyObjectSearchFilter() {
// Find an organization to pass in OP_CONTAINER.
ObjectClass oclass = new ObjectClass("organization");
ConnectorObject organization = searchByAttribute(facade, oclass, new Name(ACME_DN));

OperationOptionsBuilder optionsBuilder = new OperationOptionsBuilder();
optionsBuilder.setScope(OperationOptions.SCOPE_SUBTREE);
optionsBuilder.setContainer(new QualifiedUid(oclass, organization.getUid()));
Expand Down

0 comments on commit 01e2e99

Please sign in to comment.