Skip to content

Commit

Permalink
Don't need lazy val in DefaultAnalyzerBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
valencik committed Oct 20, 2022
1 parent 6bbea7c commit 78b6978
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ final class DefaultAnalyzerBuilder private[lucene] (config: Config)
extends AnalyzerBuilder(config) { self =>
type Builder = DefaultAnalyzerBuilder

lazy val defaultStopWords: Set[String] = Set.empty
val defaultStopWords: Set[String] = Set.empty

def withConfig(newConfig: Config): DefaultAnalyzerBuilder =
new DefaultAnalyzerBuilder(newConfig)
Expand Down

0 comments on commit 78b6978

Please sign in to comment.