Skip to content

Commit 4e18cc6

Browse files
committed
SystemRegistryImpl: change some fields visibilities to simplify class extensions
1 parent 8e66a60 commit 4e18cc6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ public enum Pipe {
6262
private static final Class<?>[] BUILTIN_REGISTRIES = { Builtins.class, ConsoleEngineImpl.class };
6363
private CommandRegistry[] commandRegistries;
6464
private Integer consoleId;
65-
private final Parser parser;
66-
private final ConfigurationPath configPath;
65+
protected final Parser parser;
66+
protected final ConfigurationPath configPath;
67+
protected final Supplier<Path> workDir;
6768
private final Map<String,CommandRegistry> subcommands = new HashMap<>();
6869
private final Map<Pipe, String> pipeName = new HashMap<>();
6970
private final Map<String, CommandMethods> commandExecute = new HashMap<>();
@@ -72,7 +73,6 @@ public enum Pipe {
7273
private final CommandOutputStream outputStream;
7374
private ScriptStore scriptStore = new ScriptStore();
7475
private NamesAndValues names = new NamesAndValues();
75-
private final Supplier<Path> workDir;
7676
private final SystemCompleter customSystemCompleter = new SystemCompleter();
7777
private final AggregateCompleter customAggregateCompleter = new AggregateCompleter(new ArrayList<>());
7878
private boolean commandGroups = true;

0 commit comments

Comments
 (0)