From cf7d687bd3639d5cfa2ae7bdfaf60fbd0a91d6e3 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 28 Jul 2006 06:42:27 +0000 Subject: [PATCH] add javadoc git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@426404 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/repository/indexing/RepositoryArtifactIndex.java | 1 + .../repository/indexing/lucene/LuceneIndexRecordConverter.java | 1 + 2 files changed, 2 insertions(+) diff --git a/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryArtifactIndex.java b/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryArtifactIndex.java index 19bfe3d1a..03803ed53 100644 --- a/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryArtifactIndex.java +++ b/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryArtifactIndex.java @@ -62,6 +62,7 @@ public interface RepositoryArtifactIndex * Delete records from the index. Simply ignore the request any did not exist. * * @param records the records to delete + * @throws RepositoryIndexException if there is a problem removing the record */ void deleteRecords( Collection records ) throws RepositoryIndexException; diff --git a/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/lucene/LuceneIndexRecordConverter.java b/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/lucene/LuceneIndexRecordConverter.java index 3f6ffb1a3..7aaf123e3 100644 --- a/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/lucene/LuceneIndexRecordConverter.java +++ b/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/lucene/LuceneIndexRecordConverter.java @@ -41,6 +41,7 @@ public interface LuceneIndexRecordConverter * * @param document the document * @return the record + * @throws java.text.ParseException if there is a problem parsing a field (specifically, dates) */ RepositoryIndexRecord convert( Document document ) throws ParseException;