Browse Source

Fix visibility modifiers for `Feature` class

Some variables and methods didn't need to be public anymore.
pull/8/head
Anton Tarasenko 3 years ago
parent
commit
e8a547e36d
  1. 4
      sources/Features/Feature.uc

4
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<FeatureConfig> configClass;
var public const class<FeatureConfig> 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) {

Loading…
Cancel
Save