package org.quattor.pan.repository;

import org.quattor.pan.exceptions.ConfigurationException;

public class SourceRepositoryFactory {

	private SourceRepositoryFactory() {
	}

	public static SourceRepository create(ParameterList parameters)
			throws ConfigurationException {

		if (parameters == null) {
			parameters = new ParameterList();
		}

		return FileSystemSourceRepository.getInstance(parameters);
	}

}

@@ -275,78 +275,8 @@
  %7B%0A%0A
-%09%09if (parameters == null) %7B%0A%09%09%09parameters = new ParameterList();%0A%09%09%7D%0A%0A
 %09%09re

remove redundant check for null parameters