]> source.dussan.org Git - archiva.git/commitdiff
PR: MRM-81
authorEdwin L. Punzalan <epunzalan@apache.org>
Thu, 2 Mar 2006 11:52:59 +0000 (11:52 +0000)
committerEdwin L. Punzalan <epunzalan@apache.org>
Thu, 2 Mar 2006 11:52:59 +0000 (11:52 +0000)
Submitted by: John Tolentino

Applied second patch

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@382358 13f79535-47bb-0310-9956-ffa450edef68

maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/SearchResult.java

index eff8a1dda3dbf49366f5cf4f391cff4d78faeabd..a42027bc81ce33d62e86353f5d31e7f6e261791c 100644 (file)
@@ -20,6 +20,7 @@ import org.apache.maven.artifact.Artifact;
 \r
 import java.util.HashMap;\r
 import java.util.Map;\r
+import java.util.Set;\r
 \r
 /**\r
  * This is the object type contained in the list that will be returned by the\r
@@ -78,4 +79,14 @@ public class SearchResult
     {\r
         this.fieldMatches = fieldMatches;\r
     }\r
+\r
+    /**\r
+     * Getter method for derived value MapEntrySet\r
+     *\r
+     * @return Map\r
+     */\r
+    public Set getFieldMatchesEntrySet()\r
+    {\r
+       return this.fieldMatches.entrySet();\r
+    }\r
 }\r