From 9d8cbfbe28656b8fc4dc85c0becd30f5fd2a60f4 Mon Sep 17 00:00:00 2001 From: bkapustik <82807109+bkapustik@users.noreply.github.com> Date: Fri, 26 Apr 2024 11:47:40 +0200 Subject: [PATCH] fix(Lucene): mark storages as internal, add internal visibility of .Core to .Admin --- src/Kentico.Xperience.Lucene.Core/Indexing/AnalyzerStorage.cs | 2 +- src/Kentico.Xperience.Lucene.Core/Indexing/StrategyStorage.cs | 2 +- .../Kentico.Xperience.Lucene.Core.csproj | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Kentico.Xperience.Lucene.Core/Indexing/AnalyzerStorage.cs b/src/Kentico.Xperience.Lucene.Core/Indexing/AnalyzerStorage.cs index d5b08853..090c1a21 100644 --- a/src/Kentico.Xperience.Lucene.Core/Indexing/AnalyzerStorage.cs +++ b/src/Kentico.Xperience.Lucene.Core/Indexing/AnalyzerStorage.cs @@ -4,7 +4,7 @@ namespace Kentico.Xperience.Lucene.Core.Indexing; -public static class AnalyzerStorage +internal static class AnalyzerStorage { public static Dictionary Analyzers { get; private set; } public static LuceneVersion AnalyzerLuceneVersion { get; private set; } diff --git a/src/Kentico.Xperience.Lucene.Core/Indexing/StrategyStorage.cs b/src/Kentico.Xperience.Lucene.Core/Indexing/StrategyStorage.cs index 8a5783dd..0b3f63d4 100644 --- a/src/Kentico.Xperience.Lucene.Core/Indexing/StrategyStorage.cs +++ b/src/Kentico.Xperience.Lucene.Core/Indexing/StrategyStorage.cs @@ -1,6 +1,6 @@ namespace Kentico.Xperience.Lucene.Core.Indexing; -public static class StrategyStorage +internal static class StrategyStorage { public static Dictionary Strategies { get; private set; } static StrategyStorage() => Strategies = []; diff --git a/src/Kentico.Xperience.Lucene.Core/Kentico.Xperience.Lucene.Core.csproj b/src/Kentico.Xperience.Lucene.Core/Kentico.Xperience.Lucene.Core.csproj index 6fa66e65..cb534bd8 100644 --- a/src/Kentico.Xperience.Lucene.Core/Kentico.Xperience.Lucene.Core.csproj +++ b/src/Kentico.Xperience.Lucene.Core/Kentico.Xperience.Lucene.Core.csproj @@ -22,6 +22,7 @@ +