diff options
| author | Sebastien Angers | 2012-04-26 13:20:46 +0000 |
|---|---|---|
| committer | Thomas Watson | 2012-04-26 13:20:46 +0000 |
| commit | a193f94ec1e690835c1cb93363c0b33848424d54 (patch) | |
| tree | 4b1f957d3a6ae72ecd3ee881adf07e2830f8597e | |
| parent | cff786594fb9c421ec4151a65280f5bc90145c8d (diff) | |
| download | rt.equinox.bundles-a193f94ec1e690835c1cb93363c0b33848424d54.tar.gz rt.equinox.bundles-a193f94ec1e690835c1cb93363c0b33848424d54.tar.xz rt.equinox.bundles-a193f94ec1e690835c1cb93363c0b33848424d54.zip | |
Bug 377708 - [console] Mixed-case commands from org.eclipse.equinox.appv20120426-1320I20120426-1030I20120426-1000
not working anymore.
| -rwxr-xr-x | bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/command/adapter/CommandProviderAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/command/adapter/CommandProviderAdapter.java b/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/command/adapter/CommandProviderAdapter.java index 08de8e80c..f78483525 100755 --- a/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/command/adapter/CommandProviderAdapter.java +++ b/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/command/adapter/CommandProviderAdapter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2011 IBM Corporation, SAP AG. + * Copyright (c) 2010, 2012 IBM Corporation, SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -53,7 +53,7 @@ public class CommandProviderAdapter { private Method findCommand(Object commandName) { for (Method command : commands) { - if (command.getName().equals(commandName)) + if (command.getName().equalsIgnoreCase(commandName.toString())) return command; } throw new IllegalArgumentException("Cannot find the command method for: " + commandName); |
