Fix upgrade to Spring Data Gosling RELEASE

Closes gh-3860
This commit is contained in:
Stephane Nicoll
2015-09-01 15:11:01 +02:00
parent 0b24a4417a
commit bd942a35fb
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -101,7 +101,7 @@ public class HypermediaAutoConfiguration {
objectMapper.registerModule(new Jackson2HalModule());
Jackson2HalModule.HalHandlerInstantiator instantiator = new Jackson2HalModule.HalHandlerInstantiator(
HalObjectMapperConfiguration.this.relProvider,
HalObjectMapperConfiguration.this.curieProvider);
HalObjectMapperConfiguration.this.curieProvider, null);
objectMapper.setHandlerInstantiator(instantiator);
}