This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push: new 4ab3e34 More precise local name. 4ab3e34 is described below commit 4ab3e349e176f060d8c49e535e30fce2c14fc023 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Mar 2 10:30:13 2021 -0500 More precise local name. --- .../src/main/java/org/apache/commons/vfs2/example/Shell.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/commons-vfs2-examples/src/main/java/org/apache/commons/vfs2/example/Shell.java b/commons-vfs2-examples/src/main/java/org/apache/commons/vfs2/example/Shell.java index 3a5c0c8..9fdc3a4 100644 --- a/commons-vfs2-examples/src/main/java/org/apache/commons/vfs2/example/Shell.java +++ b/commons-vfs2-examples/src/main/java/org/apache/commons/vfs2/example/Shell.java @@ -84,19 +84,19 @@ public final class Shell { private void go() throws Exception { System.out.println("VFS Shell " + getVersion(Shell.class)); while (true) { - final String[] cmd = nextCommand(); - if (cmd == null) { + final String[] commands = nextCommand(); + if (commands == null) { return; } - if (cmd.length == 0) { + if (commands.length == 0) { continue; } - final String cmdName = cmd[0]; + final String cmdName = commands[0]; if (cmdName.equalsIgnoreCase("exit") || cmdName.equalsIgnoreCase("quit")) { return; } try { - handleCommand(cmd); + handleCommand(commands); } catch (final Exception e) { System.err.println("Command failed:"); e.printStackTrace(System.err);