You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2021/11/02 12:13:14 UTC

[lucene] 02/02: Format javadocs of new versions in a way that Spotless is happy with.

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

jpountz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit f9be01d5cc2aa713a706cc9502d386863f49675a
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Tue Nov 2 13:07:24 2021 +0100

    Format javadocs of new versions in a way that Spotless is happy with.
---
 dev-tools/scripts/addVersion.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-tools/scripts/addVersion.py b/dev-tools/scripts/addVersion.py
index 7f20ef4..95c8c3c 100755
--- a/dev-tools/scripts/addVersion.py
+++ b/dev-tools/scripts/addVersion.py
@@ -69,9 +69,7 @@ def add_constant(new_version, deprecate):
     if deprecate:
       buffer.append('%s * @deprecated Use latest\n' % spaces)
     else:
-      buffer.append(( '{0} * <p>\n'
-                    + '{0} * Use this to get the latest &amp; greatest settings, bug\n'
-                    + '{0} * fixes, etc, for Lucene.\n').format(spaces))
+      buffer.append(( '{0} * <p>Use this to get the latest &amp; greatest settings, bug fixes, etc, for Lucene.\n').format(spaces))
     buffer.append('%s */\n' % spaces)
     if deprecate:
       buffer.append('%s@Deprecated\n' % spaces)