public static ISVNClientAdapter createSVNClient(int clientType) { if (clientType == JAVAHL_CLIENT && JhlClientAdapter.isAvailable() ) return new JhlClientAdapter(); if (clientType == COMMANDLINE_CLIENT && CmdLineClientAdapter.isAvailable() ) return new CmdLineClientAdapter();
public static ISVNClientAdapter createSVNClient(String clientType) { if (ourFactoriesMap == null || !ourFactoriesMap.containsKey(clientType)) { return null; } SVNClientAdapterFactory factory = (SVNClientAdapterFactory) ourFactoriesMap.get(clientType); if (factory != null) { return factory.createSVNClientImpl(); }
    public static ISVNClientAdapter createSVNClient(int clientType) {        if (clientType == JAVAHL_CLIENT && JhlClientAdapter.isAvailable() )        	return new JhlClientAdapter();        if (clientType == COMMANDLINE_CLIENT && CmdLineClientAdapter.isAvailable() )            return new CmdLineClientAdapter();        return null;    }