You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/09/21 15:09:47 UTC

[GitHub] [solr] gerlowskija commented on a diff in pull request #1024: SOLR-16346: Generate OpenAPI spec

gerlowskija commented on code in PR #1024:
URL: https://github.com/apache/solr/pull/1024#discussion_r976636464


##########
solr/core/src/java/org/apache/solr/util/SolrVersion.java:
##########
@@ -32,7 +32,7 @@ public final class SolrVersion implements Comparable<SolrVersion> {
   private final Version version;
 
   // This static variable should be bumped for each release
-  private static final String LATEST_STRING = "10.0.0";
+  public static final String LATEST_STRING = "10.0.0";
 
   /** This instance represents the current (latest) version of Solr. */
   public static final SolrVersion LATEST = SolrVersion.valueOf(LATEST_STRING);

Review Comment:
   I tried this initially, but since this is an annotation value we're specifying, the compiler complains: `Attribute value must be constant` 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org