mirror of https://github.com/apache/archiva.git
add classifier if exists in the response message
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
98bb578d21
commit
bf52047b1f
|
@ -222,11 +222,18 @@ public class DeleteArtifactAction
|
||||||
RedbackAuthenticationThreadLocal.set( null );
|
RedbackAuthenticationThreadLocal.set( null );
|
||||||
}
|
}
|
||||||
|
|
||||||
String msg = "Artifact \'" + groupId + ":" + artifactId + ":" + version
|
StringBuilder msg = new StringBuilder( "Artifact \'" ).append( groupId ).append( ":" ).append( artifactId );
|
||||||
+ "\' was successfully deleted from repository \'" + repositoryId + "\'";
|
|
||||||
|
|
||||||
addActionMessage( msg );
|
if ( StringUtils.isNotEmpty( classifier ) )
|
||||||
|
{
|
||||||
|
|
||||||
|
msg.append( ":" ).append( classifier );
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
msg.append( ":" ).append( version ).append( "' was successfully deleted from repository '" ).append(
|
||||||
|
repositoryId ).append( "'" );
|
||||||
|
addActionMessage( msg.toString() );
|
||||||
reset();
|
reset();
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue