From 03a5bb785729573b3f25d81cd3ae4e7a64e664ce Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 2 Apr 2019 20:13:57 +0200 Subject: [PATCH] Avoid using deprecated @SolrDocument#solrCoreName Closes gh-16419 --- .../boot/autoconfigure/data/solr/city/City.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/solr/city/City.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/solr/city/City.java index 21980b2734..61b73b0e68 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/solr/city/City.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/solr/city/City.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 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. @@ -23,7 +23,7 @@ import org.springframework.data.solr.core.mapping.SolrDocument; /** * @author Christoph Strobl */ -@SolrDocument(solrCoreName = "collection1") +@SolrDocument(collection = "collection1") public class City { @Id