Fix it113 - invert expression

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498149 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2007-01-20 18:18:04 +00:00
parent 42363a1d53
commit 8c9f74fe21
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class MyMojo
throw new MojoExecutionException( "Cannot find AuthenticationInfo for: " + serverId + "." );
}
if ( username.equals( authInfo.getUserName() ) )
if ( !username.equals( authInfo.getUserName() ) )
{
getLog().error( "Expected username: " + username + "; found: " + authInfo.getUserName() );
throw new MojoExecutionException( "Expected username: " + username + "; found: " + authInfo.getUserName() );