diff options
author | Brett Porter <brett@apache.org> | 2007-02-12 06:12:07 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2007-02-12 06:12:07 +0000 |
commit | 7e4bf4835bacc03fa74905d64816b7e9d7b16011 (patch) | |
tree | 0ce6040b4f7cf2fc38b80ba32522b81f97752c4b /archiva-configuration/src/main | |
parent | 8cfa26ec2da70175c821fbf2988a75022a767015 (diff) | |
download | archiva-7e4bf4835bacc03fa74905d64816b7e9d7b16011.tar.gz archiva-7e4bf4835bacc03fa74905d64816b7e9d7b16011.zip |
fix back-to-front expressions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@506313 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-configuration/src/main')
-rw-r--r-- | archiva-configuration/src/main/mdo/configuration.mdo | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/archiva-configuration/src/main/mdo/configuration.mdo b/archiva-configuration/src/main/mdo/configuration.mdo index 7c38f59cf..d414a9273 100644 --- a/archiva-configuration/src/main/mdo/configuration.mdo +++ b/archiva-configuration/src/main/mdo/configuration.mdo @@ -156,7 +156,7 @@ for ( java.util.Iterator i = getRepositories().iterator(); i.hasNext(); )
{
RepositoryConfiguration repository = (RepositoryConfiguration) i.next();
- if ( urlName != null ? !urlName.equals( repository.getUrlName() ) : repository.getUrlName() != null )
+ if ( urlName != null ? urlName.equals( repository.getUrlName() ) : repository.getUrlName() == null )
{
return repository;
}
@@ -169,7 +169,7 @@ for ( java.util.Iterator i = getRepositories().iterator(); i.hasNext(); )
{
RepositoryConfiguration repository = (RepositoryConfiguration) i.next();
- if ( id != null ? !id.equals( repository.getId() ) : repository.getId() != null )
+ if ( id != null ? id.equals( repository.getId() ) : repository.getId() == null )
{
return repository;
}
@@ -182,7 +182,7 @@ for ( java.util.Iterator i = getSyncedRepositories().iterator(); i.hasNext(); )
{
SyncedRepositoryConfiguration repository = (SyncedRepositoryConfiguration) i.next();
- if ( id != null ? !id.equals( repository.getId() ) : repository.getId() != null )
+ if ( id != null ? id.equals( repository.getId() ) : repository.getId() == null )
{
return repository;
}
@@ -195,7 +195,7 @@ for ( java.util.Iterator i = getProxiedRepositories().iterator(); i.hasNext(); )
{
ProxiedRepositoryConfiguration repository = (ProxiedRepositoryConfiguration) i.next();
- if ( id != null ? !id.equals( repository.getId() ) : repository.getId() != null )
+ if ( id != null ? id.equals( repository.getId() ) : repository.getId() == null )
{
return repository;
}
|