From a6063601a822fe89bf94c8380c2f38cf5890e862 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Tue, 25 May 2010 03:50:26 +0000 Subject: [PATCH] [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 --- .../maven/archiva/web/tags/ProjectMetadataTag.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 ); } -- 2.39.5