Skip to content

Commit

Permalink
Correct typo from 'Registar' to 'Registrar'
Browse files Browse the repository at this point in the history
  • Loading branch information
dlskawo0409 committed Oct 16, 2024
1 parent b847ee8 commit 5365038
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
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

0 comments on commit 5365038

Please sign in to comment.