Skip to content

Commit d83e786

Browse files
committed
SOLR-16082: Move internal variable to private to facilitate removing deprecation. (#3911)
1 parent 7447a36 commit d83e786

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,11 +693,12 @@ public static String getSolrConfigFile() {
693693
* <p>Will be set to null by {@link #deleteCore} and re-initialized as needed by {@link
694694
* #createCore}. In the event of a test failure, the contents will be left on disk.
695695
*
696+
* <p>Use initAndGetDataDir instead of directly accessing this variable
697+
*
696698
* @see #createTempDir(String)
697699
* @see #initAndGetDataDir()
698-
* @deprecated use initAndGetDataDir instead of directly accessing this variable
699700
*/
700-
@Deprecated protected static volatile Path initCoreDataDir;
701+
private static volatile Path initCoreDataDir;
701702

702703
/**
703704
* Initializes things your test might need

0 commit comments

Comments
 (0)