From e8a547e36db3d84ebbcf4eb9a8d4783bb6ff16c0 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Fri, 5 Nov 2021 03:39:25 +0700 Subject: [PATCH] Fix visibility modifiers for `Feature` class Some variables and methods didn't need to be public anymore. --- sources/Features/Feature.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/Features/Feature.uc b/sources/Features/Feature.uc index 8e903d9..933b40c 100644 --- a/sources/Features/Feature.uc +++ b/sources/Features/Feature.uc @@ -47,7 +47,7 @@ var private AssociativeArray currentConfig; // Class of this `Feature`'s config objects. Classes must be in 1-to-1 // correspondence. -var protected const class configClass; +var public const class configClass; // Setting default value of this variable to 'true' prevents creation of // a `Feature`, even if no instances of it exist. This is used to ensure active @@ -138,7 +138,7 @@ protected function Finalizer() * * @param newConfigName Name of the config to apply to the caller `Feature`. */ -public final function ApplyConfig(Text newConfigName) +private final function ApplyConfig(Text newConfigName) { local FeatureConfig newConfig; if (newConfigName == none) {