aboutsummaryrefslogtreecommitdiffstats
path: root/maven-repository-discovery
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2006-07-27 03:03:48 +0000
committerBrett Porter <brett@apache.org>2006-07-27 03:03:48 +0000
commitab0ca9f0f07ba707710acfb1c47b45756cd847b3 (patch)
tree9b38da5ef03a2b19ad124ca143799bee1616247e /maven-repository-discovery
parent436d0b75cabf9229097560860a5a03f79c979a54 (diff)
downloadarchiva-ab0ca9f0f07ba707710acfb1c47b45756cd847b3.tar.gz
archiva-ab0ca9f0f07ba707710acfb1c47b45756cd847b3.zip
[MRM-127] notes, and skip indexing of null records
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@425936 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-repository-discovery')
-rw-r--r--maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java b/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java
index 7755016c6..6aad837df 100644
--- a/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java
+++ b/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java
@@ -151,11 +151,12 @@ public class DefaultMetadataDiscoverer
}
/**
- * Builds a RepositoryMetadata object from a Metadata object and its path
+ * Builds a RepositoryMetadata object from a Metadata object and its path.
*
* @param m Metadata
* @param metadataPath path
* @return RepositoryMetadata if the parameters represent one; null if not
+ * @todo should we just be using the path information, and loading it later when it is needed? (for reporting, etc)
*/
private RepositoryMetadata buildMetadata( Metadata m, String metadataPath )
{