Skip to content

DATAMONGO-2098 - Typo in MappingMongoConverterParser. #612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
* @author Thomas Darimont
* @author Christoph Strobl
* @author Mark Paluch
* @author Zied Yaich
*/
public class MappingMongoConverterParser implements BeanDefinitionParser {

Expand Down Expand Up @@ -211,7 +212,7 @@ public static String potentiallyCreateMappingContext(Element element, ParserCont
BeanDefinitionBuilder mappingContextBuilder = BeanDefinitionBuilder
.genericBeanDefinition(MongoMappingContext.class);

Set<String> classesToAdd = getInititalEntityClasses(element);
Set<String> classesToAdd = getInitialEntityClasses(element);

if (classesToAdd != null) {
mappingContextBuilder.addPropertyValue("initialEntitySet", classesToAdd);
Expand Down Expand Up @@ -304,7 +305,7 @@ private BeanDefinition getCustomConversions(Element element, ParserContext parse
return null;
}

private static Set<String> getInititalEntityClasses(Element element) {
private static Set<String> getInitialEntityClasses(Element element) {

String basePackage = element.getAttribute(BASE_PACKAGE);

Expand Down