Skip to content
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

Correct typo from 'Registar' to 'Registrar' #2421

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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 @@ -36,19 +36,20 @@
* {@link RepositoryResourceMappings} as the latter need access to the former to discover mappings in the first place.
*
* @author Oliver Gierke
* @author Nam Jae Lee
* @since 2.5
* @soundtrack Katinka - Ausverkauf
*/
public class ProjectionDefinitionRegistar implements SmartInstantiationAwareBeanPostProcessor {
public class ProjectionDefinitionRegistrar implements SmartInstantiationAwareBeanPostProcessor {

private final ObjectFactory<RepositoryRestConfiguration> config;

/**
* Creates a new {@link ProjectionDefinitionRegistar} for the given {@link RepositoryRestConfiguration}.
* Creates a new {@link ProjectionDefinitionRegistrar} for the given {@link RepositoryRestConfiguration}.
*
* @param config must not be {@literal null}.
*/
public ProjectionDefinitionRegistar(ObjectFactory<RepositoryRestConfiguration> config) {
public ProjectionDefinitionRegistrar(ObjectFactory<RepositoryRestConfiguration> config) {

Assert.notNull(config, "RepositoryRestConfiguration must not be null");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
* @author Mark Paluch
* @author Christoph Strobl
* @author Will Fleury
* @author Nam Jae Lee
*/
@Configuration(proxyBeanMethods = false)
@EnableHypermediaSupport(type = { HypermediaType.HAL, HypermediaType.HAL_FORMS })
Expand Down Expand Up @@ -397,9 +398,9 @@ public <T extends RepositoryRestConfiguration & CorsConfigurationAware> T reposi
}

@Bean
public static ProjectionDefinitionRegistar projectionDefinitionRegistrar(
public static ProjectionDefinitionRegistrar projectionDefinitionRegistrar(
ObjectFactory<RepositoryRestConfiguration> config) {
return new ProjectionDefinitionRegistar(config);
return new ProjectionDefinitionRegistrar(config);
}

@Bean
Expand Down