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 );
|
||||
}
|
||||
|
||||
String msg = "Artifact \'" + groupId + ":" + artifactId + ":" + version
|
||||
+ "\' was successfully deleted from repository \'" + repositoryId + "\'";
|
||||
StringBuilder msg = new StringBuilder( "Artifact \'" ).append( groupId ).append( ":" ).append( artifactId );
|
||||
|
||||
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();
|
||||
return SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue