Allow Shell.input() to be overridden in subclasses

- the ssh-shell-spring-boot extensions needs to extend to override the Shell.input()
  method to handle the input provided via the SSH session properly
This commit is contained in:
Christian Niessner
2023-01-11 20:36:16 +01:00
committed by Janne Valkealahti
parent 95e2829dc3
commit 448c507ce9

View File

@@ -190,7 +190,7 @@ public class Shell {
* result
* </p>
*/
private Object evaluate(Input input) {
protected Object evaluate(Input input) {
if (noInput(input)) {
return NO_INPUT;
}