Mailing List Archive

Re: (lucene) branch main updated: remove another errant lurking angry semicolon -- why do I keep finding these?
Hi Mike,

this comes indirectly from the code formatter. As you see here, the
previous line ends with "}", so it looks like somebody added the
semicolon behind the bracket. This happens often if it was an anonymous
inner class previously or a lambda that was moved around but the
onsolete semicolon left intact at end of line. When it gets formatted
the semicolon (as it is out of its original context) gets its own line,
as it looks like a statement.

Trust me, the semicolon is not angry it is just sad alone.

Uwe

Am 14.11.2023 um 13:08 schrieb mikemccand@apache.org:
> This is an automated email from the ASF dual-hosted git repository.
>
> mikemccand pushed a commit to branch main
> in repository https://gitbox.apache.org/repos/asf/lucene.git
>
>
> The following commit(s) were added to refs/heads/main by this push:
> new cc35e903551 remove another errant lurking angry semicolon -- why do I keep finding these?
> cc35e903551 is described below
>
> commit cc35e903551ddedbfe6765be5a2f332fc7871da2
> Author: Mike McCandless <mikemccand@apache.org>
> AuthorDate: Tue Nov 14 07:07:52 2023 -0500
>
> remove another errant lurking angry semicolon -- why do I keep finding these?
> ---
> .../src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/lucene/core/src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java b/lucene/core/src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java
> index 9fc24af29a0..6a77078a5cc 100644
> --- a/lucene/core/src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java
> +++ b/lucene/core/src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java
> @@ -100,5 +100,4 @@ public abstract class DelegatingAnalyzerWrapper extends AnalyzerWrapper {
> }
> }
> }
> - ;
> }
>
--
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: uwe@thetaphi.de


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org