mirror of https://github.com/apache/archiva.git
fix artifact description not returned
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301278 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
38bc3000f4
commit
f00878ddf9
|
@ -207,7 +207,6 @@ public class DefaultBrowseService
|
|||
|
||||
Collections.sort( sortedVersions, VersionComparator.getInstance() );
|
||||
|
||||
|
||||
return sortedVersions;
|
||||
}
|
||||
finally
|
||||
|
@ -300,7 +299,9 @@ public class DefaultBrowseService
|
|||
if ( sharedModel.getDescription() != null && !StringUtils.equalsIgnoreCase(
|
||||
sharedModel.getDescription(), versionMetadata.getDescription() ) )
|
||||
{
|
||||
sharedModel.setDescription( null );
|
||||
sharedModel.setDescription( StringUtils.isNotEmpty( versionMetadata.getDescription() )
|
||||
? versionMetadata.getDescription()
|
||||
: "" );
|
||||
}
|
||||
|
||||
if ( sharedModel.getIssueManagement() != null && versionMetadata.getIssueManagement() != null
|
||||
|
|
Loading…
Reference in New Issue