Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
NEXUS-4357 - Fix NexusClient.getRepositories() typo
Browse files Browse the repository at this point in the history
  • Loading branch information
velo committed Dec 6, 2011
1 parent 7757f45 commit 0df9646
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Expand Up @@ -42,8 +42,7 @@ public interface NexusClient

public void deleteRepository( String id ) throws NexusClientException, NexusConnectionException;

public List<RepositoryListResource> getRespositories() throws NexusClientException, NexusConnectionException;

public List<RepositoryListResource> getRepositories() throws NexusClientException, NexusConnectionException;

public NexusArtifact searchBySHA1(String sha1) throws NexusClientException, NexusConnectionException;

Expand Down
Expand Up @@ -119,7 +119,7 @@ public RepositoryBaseResource getRepository( String id )
}

@SuppressWarnings( "unchecked" )
public List<RepositoryListResource> getRespositories()
public List<RepositoryListResource> getRepositories()
throws NexusConnectionException, NexusClientException
{
Object tempObj = this.getClientHelper().getList( REPO_SERVICE );
Expand Down Expand Up @@ -156,7 +156,7 @@ public boolean isValidRepository( String id )
throws NexusClientException, NexusConnectionException
{

List<RepositoryListResource> repoList = this.getRespositories();
List<RepositoryListResource> repoList = this.getRepositories();

for ( RepositoryListResource repositoryListResource : repoList )
{
Expand Down
Expand Up @@ -73,7 +73,7 @@ public void getRepoListTest()
{
NexusClient client = this.getConnectedNexusClient();

List<RepositoryListResource> repos = client.getRespositories();
List<RepositoryListResource> repos = client.getRepositories();
Assert.assertTrue( repos.size() > 0, "Expected list of repos to be larger then 0" );

List<String> knownRepos = new ArrayList<String>();
Expand Down

0 comments on commit 0df9646

Please sign in to comment.