private static void validate(ModuleDependencyRepository moduleDependencyRepository,
			StreamDefinition streamDefinition) {
		Assert.notNull(moduleDependencyRepository, "No ModuleDependencyRepository specified");
		Assert.notNull(streamDefinition, "No StreamDefinition specified");
	}
Delete the dependencies of each module to its containing stream.

@param moduleDependencyRepository deletes module dependencies
@param streamDefinition the stream definition.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/stream/StreamDefinitionRepositoryUtils.java