Update Import Order

Closes gh-749
This commit is contained in:
Josh Cummings
2023-04-11 16:26:29 -06:00
parent ec23b3ebf2
commit c07584be48
310 changed files with 1429 additions and 1183 deletions

View File

@@ -15,10 +15,10 @@
*/
package org.springframework.ldap.samples.plain.dao;
import org.springframework.ldap.samples.plain.domain.Person;
import java.util.List;
import org.springframework.ldap.samples.plain.domain.Person;
/**
* Data Access Object interface for the Person entity.

View File

@@ -15,6 +15,13 @@
*/
package org.springframework.ldap.samples.plain.dao;
import java.util.List;
import javax.naming.Name;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;
import javax.naming.ldap.LdapName;
import org.springframework.ldap.core.AttributesMapper;
import org.springframework.ldap.core.ContextMapper;
import org.springframework.ldap.core.DirContextAdapter;
@@ -25,12 +32,6 @@ import org.springframework.ldap.samples.plain.domain.Person;
import org.springframework.ldap.support.LdapNameBuilder;
import org.springframework.ldap.support.LdapUtils;
import javax.naming.Name;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;
import javax.naming.ldap.LdapName;
import java.util.List;
import static org.springframework.ldap.query.LdapQueryBuilder.query;
/**

View File

@@ -16,11 +16,11 @@
package org.springframework.ldap.samples.utils;
import org.springframework.ldap.core.DirContextOperations;
import java.util.LinkedList;
import java.util.List;
import org.springframework.ldap.core.DirContextOperations;
public class HtmlRowLdapTreeVisitor implements LdapTreeVisitor {
private List<String> rows = new LinkedList<String>();

View File

@@ -16,11 +16,11 @@
package org.springframework.ldap.samples.utils;
import org.springframework.ldap.core.DirContextOperations;
import java.util.LinkedList;
import java.util.List;
import org.springframework.ldap.core.DirContextOperations;
public class LdapTree {
private final DirContextOperations node;

View File

@@ -16,13 +16,13 @@
package org.springframework.ldap.samples.utils;
import javax.naming.Name;
import org.springframework.ldap.core.DirContextOperations;
import org.springframework.ldap.core.LdapTemplate;
import org.springframework.ldap.core.support.AbstractContextMapper;
import org.springframework.ldap.support.LdapUtils;
import javax.naming.Name;
public class LdapTreeBuilder {
private LdapTemplate ldapTemplate;

View File

@@ -15,16 +15,17 @@
*/
package org.springframework.ldap.samples.plain.dao;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ldap.NameNotFoundException;
import org.springframework.ldap.samples.plain.domain.Person;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.fail;

View File

@@ -16,18 +16,20 @@
package org.springframework.ldap.samples.utils;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.naming.ldap.LdapName;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ldap.core.DirContextOperations;
import org.springframework.ldap.support.LdapUtils;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import javax.naming.ldap.LdapName;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import static org.assertj.core.api.Assertions.assertThat;
@ContextConfiguration(locations = { "/config/testContext.xml" })