@Override
	public final int hashCode() {
		int result = name.hashCode();
		result = 31 * result + type.hashCode();
		return result;
	}
Compares the module definitions using the name of the {@link ModuleDefinition}
spring-xd-module/src/main/java/org/springframework/xd/module/ModuleDefinition.java