Bug 189167 [KeyBindings] Binding.equals() gives back wrong value
org.eclipse.jface.bindings.Binding.equals() in line 272 (in 3.2.2 line 268) return (getType() != binding.getType()); This expression gives back false instead of true if the two values are same. Need to change to: return (getType() == binding.getType());
bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/Binding.java
* that maps the command to the "Esc Ctrl+F" key sequence.
 * </p>
 * <code><pre>
 *     KeyBinding("Ctrl+Shift+F",null,scheme,context,null,gtk,null,SYSTEM)
 *     KeyBinding("Esc Ctrl+F",parameterizedCommand,scheme,context,null,gtk,SYSTEM)
 * </pre></code>
 * <p>
 * Bindings are intended to be immutable objects.
 * </p>
 * 
 * @since 3.1
 */
public abstract class Binding {
	/**
	 * The constant integer hash code value meaning the hash code has not yet
	 * been computed.
	 */
	private static final int HASH_CODE_NOT_COMPUTED = -1;
	/**
	 * A factor for computing the hash code for all key bindings.
	 */
	private final static int HASH_FACTOR = 89;
	/**
	 * The seed for the hash code for all key bindings.
	 */
	private final static int HASH_INITIAL = Binding.class.getName().hashCode();
	/**
	 * The type of binding that is defined by the system (i.e., by the
	 * application developer). In the case of an application based on the
	 * Eclipse workbench, this is the registry.