From 4e18cc6c1365512fa6855eed0ed0ab17df353f43 Mon Sep 17 00:00:00 2001 From: mattirn Date: Thu, 1 Apr 2021 17:54:30 +0200 Subject: [PATCH] SystemRegistryImpl: change some fields visibilities to simplify class extensions --- .../java/org/jline/console/impl/SystemRegistryImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java b/console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java index fa02ea58f..c65838ef4 100644 --- a/console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java +++ b/console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java @@ -62,8 +62,9 @@ public enum Pipe { private static final Class[] BUILTIN_REGISTRIES = { Builtins.class, ConsoleEngineImpl.class }; private CommandRegistry[] commandRegistries; private Integer consoleId; - private final Parser parser; - private final ConfigurationPath configPath; + protected final Parser parser; + protected final ConfigurationPath configPath; + protected final Supplier workDir; private final Map subcommands = new HashMap<>(); private final Map pipeName = new HashMap<>(); private final Map commandExecute = new HashMap<>(); @@ -72,7 +73,6 @@ public enum Pipe { private final CommandOutputStream outputStream; private ScriptStore scriptStore = new ScriptStore(); private NamesAndValues names = new NamesAndValues(); - private final Supplier workDir; private final SystemCompleter customSystemCompleter = new SystemCompleter(); private final AggregateCompleter customAggregateCompleter = new AggregateCompleter(new ArrayList<>()); private boolean commandGroups = true;