Skip to content

Commit 5365038

Browse files
author
dlskawo0409
committed
Correct typo from 'Registar' to 'Registrar'
1 parent b847ee8 commit 5365038

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,20 @@
3636
* {@link RepositoryResourceMappings} as the latter need access to the former to discover mappings in the first place.
3737
*
3838
* @author Oliver Gierke
39+
* @author Nam Jae Lee
3940
* @since 2.5
4041
* @soundtrack Katinka - Ausverkauf
4142
*/
42-
public class ProjectionDefinitionRegistar implements SmartInstantiationAwareBeanPostProcessor {
43+
public class ProjectionDefinitionRegistrar implements SmartInstantiationAwareBeanPostProcessor {
4344

4445
private final ObjectFactory<RepositoryRestConfiguration> config;
4546

4647
/**
47-
* Creates a new {@link ProjectionDefinitionRegistar} for the given {@link RepositoryRestConfiguration}.
48+
* Creates a new {@link ProjectionDefinitionRegistrar} for the given {@link RepositoryRestConfiguration}.
4849
*
4950
* @param config must not be {@literal null}.
5051
*/
51-
public ProjectionDefinitionRegistar(ObjectFactory<RepositoryRestConfiguration> config) {
52+
public ProjectionDefinitionRegistrar(ObjectFactory<RepositoryRestConfiguration> config) {
5253

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

spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@
161161
* @author Mark Paluch
162162
* @author Christoph Strobl
163163
* @author Will Fleury
164+
* @author Nam Jae Lee
164165
*/
165166
@Configuration(proxyBeanMethods = false)
166167
@EnableHypermediaSupport(type = { HypermediaType.HAL, HypermediaType.HAL_FORMS })
@@ -397,9 +398,9 @@ public <T extends RepositoryRestConfiguration & CorsConfigurationAware> T reposi
397398
}
398399

399400
@Bean
400-
public static ProjectionDefinitionRegistar projectionDefinitionRegistrar(
401+
public static ProjectionDefinitionRegistrar projectionDefinitionRegistrar(
401402
ObjectFactory<RepositoryRestConfiguration> config) {
402-
return new ProjectionDefinitionRegistar(config);
403+
return new ProjectionDefinitionRegistrar(config);
403404
}
404405

405406
@Bean

0 commit comments

Comments
 (0)