mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
improve scm-hg-plugin
This commit is contained in:
@@ -67,31 +67,6 @@ public class SvnRepositoryHandler
|
||||
|
||||
//~--- get methods ----------------------------------------------------------
|
||||
|
||||
/**
|
||||
* TODO dont use getAll
|
||||
*
|
||||
*
|
||||
* @param name
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public Repository getByName(String name)
|
||||
{
|
||||
Repository repository = null;
|
||||
|
||||
for (Repository r : getAll())
|
||||
{
|
||||
if (r.getName().equals(name))
|
||||
{
|
||||
repository = r;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return repository;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user