Esempio n. 1
0
 @Override
 public void saveHistory(String commandLine, String result) {
   if (commandHistory != null) commandHistory.saveHistory(commandLine, result);
 }
Esempio n. 2
0
 @Override
 public String showHistory() {
   return commandHistory == null ? "history disabled" : commandHistory.showHistory();
 }