Skip to content

Apache Lucene open-source search software

LUCENE-9079: add missing newlines to end of hunspell test files... we aren't trying to test corner cases of LineNumberReader

Robert Muir6e2da8780ce5
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/broken.aff b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/broken.aff
index 81741793719..3dadd2f84d6 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/broken.aff
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/broken.aff
@@ -21,4 +21,4 @@ PFX B 0 s o
#wrong rule (only 3 elements)
PFX A0 Y 1
-PFX A0 0
\ No newline at end of file
+PFX A0 0
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/complexprefix.aff b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/complexprefix.aff
index 3bdfac21631..a294040b6fc 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/complexprefix.aff
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/complexprefix.aff
@@ -9,4 +9,4 @@ PFX B Y 1
PFX B 0 ptwo/A .
SFX C Y 1
-SFX C 0 suf .
\ No newline at end of file
+SFX C 0 suf .
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/conv.aff b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/conv.aff
index e860a87b7e9..2705dc56fe6 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/conv.aff
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/conv.aff
@@ -13,4 +13,4 @@ OCONV c C
OCONV i I
SFX X Y 1
-SFX X 0 able . +ABLE
\ No newline at end of file
+SFX X 0 able . +ABLE
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/dependencies.aff b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/dependencies.aff
index 5589f3f3ed0..c236cd9ad53 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/dependencies.aff
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/dependencies.aff
@@ -10,4 +10,4 @@ SFX Q Y 1
SFX Q 0 s . +3SGV
SFX R Y 1
-SFX R 0 able/PS . +DER_V_ADJ_ABLE
\ No newline at end of file
+SFX R 0 able/PS . +DER_V_ADJ_ABLE
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/homonyms.dic b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/homonyms.dic
index 6357472f863..5878ea47727 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/homonyms.dic
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/homonyms.dic
@@ -1,3 +1,3 @@
2
work/A [VERB]
-work/B [NOUN]
\ No newline at end of file
+work/B [NOUN]
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/ignore.aff b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/ignore.aff
index 65c4683fc0a..7a31d43528d 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/ignore.aff
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/ignore.aff
@@ -3,4 +3,4 @@ SET UTF-8
IGNORE '-
SFX X Y 1
-SFX X 0 able . +ABLE
\ No newline at end of file
+SFX X 0 able . +ABLE
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/ignore.dic b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/ignore.dic
index 854c5094013..77ad4449833 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/ignore.dic
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/ignore.dic
@@ -1,3 +1,3 @@
1
drink/X [VERB]
-dr-ank/X [VERB]
\ No newline at end of file
+dr-ank/X [VERB]
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/keepcase.dic b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/keepcase.dic
index 96b7a48ab78..8678796beb7 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/keepcase.dic
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/keepcase.dic
@@ -1,4 +1,4 @@
3
drink/X
walk/XZ
-test/Z
\ No newline at end of file
+test/Z
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/needaffix.dic b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/needaffix.dic
index 3ac76bdf2c2..99d409670ad 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/needaffix.dic
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/needaffix.dic
@@ -1,4 +1,4 @@
3
drink/X
walk/XYZ
-test/Z
\ No newline at end of file
+test/Z
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/optional-condition.aff b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/optional-condition.aff
index f2e3b9c2c7c..63f558e8100 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/optional-condition.aff
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/optional-condition.aff
@@ -11,4 +11,4 @@ PFX A 0 re
SFX B Y 2
SFX B 0 ed [^y]
-SFX B y ied y
\ No newline at end of file
+SFX B y ied y
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/simple.aff b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/simple.aff
index db9423dcad1..aaf4a6cdf22 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/simple.aff
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/simple.aff
@@ -17,4 +17,4 @@ SFX E Y 1
SFX E 0 d o
PFX B Y 1
-PFX B 0 s o
\ No newline at end of file
+PFX B 0 s o