[jboss-cvs] JBossAS SVN: r88063 - projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 30 07:33:38 EDT 2009


Author: alesj
Date: 2009-04-30 07:33:37 -0400 (Thu, 30 Apr 2009)
New Revision: 88063

Modified:
   projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl/DefaultExecutableRegistry.java
Log:
Simple code fix.

Modified: projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl/DefaultExecutableRegistry.java
===================================================================
--- projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl/DefaultExecutableRegistry.java	2009-04-30 11:31:57 UTC (rev 88062)
+++ projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/impl/DefaultExecutableRegistry.java	2009-04-30 11:33:37 UTC (rev 88063)
@@ -48,7 +48,7 @@
 {
    public Executable getExecutable(String command)
    {
-      if (command.equals("cd")) {
+      if ("cd".equals(command)) {
          return new CDExe();
       } else if ("set".equals(command)) {
          return new SetCommand();




More information about the jboss-cvs-commits mailing list