From: Maria Odea B. Ching Date: Tue, 25 May 2010 03:50:26 +0000 (+0000) Subject: [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic... X-Git-Tag: archiva-1.4-M1~936 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6063601a822fe89bf94c8380c2f38cf5890e862;p=archiva.git [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin move closing of the list item inside if condition git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947906 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/ProjectMetadataTag.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/ProjectMetadataTag.java index f3581276d..d005446d3 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/ProjectMetadataTag.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/ProjectMetadataTag.java @@ -109,8 +109,8 @@ public class ProjectMetadataTag addListItem( "organization.name=", projectMetadata.getOrganization().getName(), metadataEntries ); addListItem( "organization.url=", projectMetadata.getOrganization().getUrl(), metadataEntries ); endList( metadataEntries ); + endListItem( metadataEntries ); } - endListItem( metadataEntries ); if ( projectMetadata.getIssueManagement() != null ) { @@ -119,8 +119,8 @@ public class ProjectMetadataTag addListItem( "issueManagement.system=", projectMetadata.getIssueManagement().getSystem(), metadataEntries ); addListItem( "issueManagement.url=", projectMetadata.getIssueManagement().getUrl(), metadataEntries ); endList( metadataEntries ); + endListItem( metadataEntries ); } - endListItem( metadataEntries ); if ( projectMetadata.getScm() != null ) { @@ -131,8 +131,8 @@ public class ProjectMetadataTag addListItem( "scm.developer.connection=", projectMetadata.getScm().getDeveloperConnection(), metadataEntries ); endList( metadataEntries ); + endListItem( metadataEntries ); } - endListItem( metadataEntries ); if ( projectMetadata.getCiManagement() != null ) { @@ -141,8 +141,8 @@ public class ProjectMetadataTag addListItem( "ciManagement.system=", projectMetadata.getCiManagement().getSystem(), metadataEntries ); addListItem( "ciManagement.url=", projectMetadata.getCiManagement().getUrl(), metadataEntries ); endList( metadataEntries ); + endListItem( metadataEntries ); } - endListItem( metadataEntries ); if ( projectMetadata.getLicenses() != null && !projectMetadata.getLicenses().isEmpty() ) { @@ -157,8 +157,8 @@ public class ProjectMetadataTag ctr++; } endList( metadataEntries ); + endListItem( metadataEntries ); } - endListItem( metadataEntries ); if ( projectMetadata.getMailingLists() != null && !projectMetadata.getMailingLists().isEmpty() ) { @@ -197,8 +197,8 @@ public class ProjectMetadataTag ctr++; } endList( metadataEntries ); + endListItem( metadataEntries ); } - endListItem( metadataEntries ); if ( projectMetadata.getDependencies() != null && !projectMetadata.getDependencies().isEmpty() ) { @@ -219,8 +219,8 @@ public class ProjectMetadataTag ctr++; } endList( metadataEntries ); + endListItem( metadataEntries ); } - endListItem( metadataEntries ); endList( metadataEntries ); }