This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch branch_10_0
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_10_0 by this push:
     new 2680d152ceb SOLR-16082: Move internal variable to private to 
facilitate removing deprecation. (#3911)
2680d152ceb is described below

commit 2680d152ceb138ecf1868f98b1d6400e52f66055
Author: Eric Pugh <[email protected]>
AuthorDate: Mon Dec 1 11:52:43 2025 -0500

    SOLR-16082: Move internal variable to private to facilitate removing 
deprecation. (#3911)
---
 solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java 
b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
index 0668215e3ea..09691e4222f 100644
--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
@@ -693,11 +693,12 @@ public abstract class SolrTestCaseJ4 extends SolrTestCase 
{
    * <p>Will be set to null by {@link #deleteCore} and re-initialized as 
needed by {@link
    * #createCore}. In the event of a test failure, the contents will be left 
on disk.
    *
+   * <p>Use initAndGetDataDir instead of directly accessing this variable
+   *
    * @see #createTempDir(String)
    * @see #initAndGetDataDir()
-   * @deprecated use initAndGetDataDir instead of directly accessing this 
variable
    */
-  @Deprecated protected static volatile Path initCoreDataDir;
+  private static volatile Path initCoreDataDir;
 
   /**
    * Initializes things your test might need

Reply via email to