DATAREDIS-1067 - Update doc using the correct constructor.

Fix example creating a MappingConfiguration instance with arguments in the proper order.

Original pull request: #497.
This commit is contained in:
Rafael Andrade de Oliveira
2019-11-12 14:57:26 -03:00
committed by Mark Paluch
parent da8509f805
commit c33298fd65

View File

@@ -363,7 +363,7 @@ public class ApplicationConfig {
public RedisMappingContext keyValueMappingContext() {
return new RedisMappingContext(
new MappingConfiguration(
new MyKeyspaceConfiguration(), new IndexConfiguration()));
new IndexConfiguration(), new MyKeyspaceConfiguration()));
}
public static class MyKeyspaceConfiguration extends KeyspaceConfiguration {