repos.setCredentialsProvider(credentials);
if (credentials != null) { repos.setCredentialsProvider(credentials); }
            public SVNRepository createRepository(String url) throws SVNException {                SVNRepository repos = SVNRepositoryFactory.create(SVNRepositoryLocation.parseURL(url));                repos.setCredentialsProvider(credentials);                return repos;            }