File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
spring-data-mongodb/src/main
java/org/springframework/data/mongodb/core Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2015 the original author or authors.
2
+ * Copyright 2015-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
17
17
18
18
import org .springframework .context .annotation .Bean ;
19
19
import org .springframework .data .mongodb .core .geo .GeoJsonModule ;
20
- import org .springframework .data .web .config .SpringDataWebConfigurationMixin ;
20
+ import org .springframework .data .web .config .SpringDataJacksonModules ;
21
21
22
22
/**
23
23
* Configuration class to expose {@link GeoJsonModule} as a Spring bean.
24
24
*
25
25
* @author Oliver Gierke
26
26
*/
27
- @ SpringDataWebConfigurationMixin
28
- public class GeoJsonConfiguration {
27
+ public class GeoJsonConfiguration implements SpringDataJacksonModules {
29
28
30
29
@ Bean
31
30
public GeoJsonModule geoJsonModule () {
Original file line number Diff line number Diff line change
1
+ org.springframework.data.web.config.SpringDataJacksonModules=org.springframework.data.mongodb.core.GeoJsonConfiguration
You can’t perform that action at this time.
0 commit comments