Skip to content

Commit

Permalink
DATALDAP-5 - Polishing.
Browse files Browse the repository at this point in the history
Replace Mongo leftovers from initial skeleton code.
  • Loading branch information
mp911de committed Nov 9, 2017
1 parent a5810ff commit 0133ec9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -31,7 +31,7 @@
/**
* Annotation to activate Ldap repositories. If no base package is configured through either {@link #value()},
* {@link #basePackages()} or {@link #basePackageClasses()} it will trigger scanning of the package of annotated class.
*
*
* @author Mattias Hellborg Arthursson
* @author Mark Paluch
*/
Expand Down Expand Up @@ -84,7 +84,7 @@

/**
* Configures the location of where to find the Spring Data named queries properties file. Will default to
* {@code META-INFO/mongo-named-queries.properties}.
* {@code META-INFO/ldap-named-queries.properties}.
*
* @return
*/
Expand All @@ -102,7 +102,7 @@
/**
* Returns the {@link org.springframework.beans.factory.FactoryBean} class to be used for each repository instance.
* Defaults to {@link org.springframework.data.ldap.repository.support.LdapRepositoryFactoryBean}.
*
*
* @return
*/
Class<?> repositoryFactoryBeanClass() default LdapRepositoryFactoryBean.class;
Expand All @@ -117,7 +117,7 @@
/**
* Configures the name of the {@link org.springframework.ldap.core.LdapTemplate} bean to be used with the repositories
* detected.
*
*
* @return
*/
String ldapTemplateRef() default "ldapTemplate";
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -45,7 +45,7 @@ public abstract class AbstractLdapRepositoryQuery implements RepositoryQuery {
*/
public AbstractLdapRepositoryQuery(LdapQueryMethod queryMethod, Class<?> entityType, LdapOperations ldapOperations) {

Assert.notNull(queryMethod, "MongoQueryMethod must not be null!");
Assert.notNull(queryMethod, "LdapQueryMethod must not be null!");
Assert.notNull(entityType, "Entity type must not be null!");
Assert.notNull(ldapOperations, "LdapOperations must not be null!");

Expand Down

0 comments on commit 0133ec9

Please sign in to comment.