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 756829b01e
commit d5094954e6

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 {