Skip to content

Commit 03a5bb7

Browse files
dreis2211snicoll
authored andcommitted
Avoid using deprecated @SolrDocument#solrCoreName
Closes gh-16419
1 parent 52e635b commit 03a5bb7

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/solr/city

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/solr/city/City.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
2323
/**
2424
* @author Christoph Strobl
2525
*/
26-
@SolrDocument(solrCoreName = "collection1")
26+
@SolrDocument(collection = "collection1")
2727
public class City {
2828

2929
@Id

0 commit comments

Comments
 (0)