directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r546631 - /directory/apacheds/trunk/protocol-dns/src/main/java/org/apache/directory/server/dns/store/RecordStore.java
Date Tue, 12 Jun 2007 20:55:52 GMT
Author: erodriguez
Date: Tue Jun 12 13:55:51 2007
New Revision: 546631

URL: http://svn.apache.org/viewvc?view=rev&rev=546631
Log:
Warnings clean-up:  Javadocs, generics.

Modified:
    directory/apacheds/trunk/protocol-dns/src/main/java/org/apache/directory/server/dns/store/RecordStore.java

Modified: directory/apacheds/trunk/protocol-dns/src/main/java/org/apache/directory/server/dns/store/RecordStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-dns/src/main/java/org/apache/directory/server/dns/store/RecordStore.java?view=diff&rev=546631&r1=546630&r2=546631
==============================================================================
--- directory/apacheds/trunk/protocol-dns/src/main/java/org/apache/directory/server/dns/store/RecordStore.java
(original)
+++ directory/apacheds/trunk/protocol-dns/src/main/java/org/apache/directory/server/dns/store/RecordStore.java
Tue Jun 12 13:55:51 2007
@@ -23,6 +23,7 @@
 import java.util.Set;
 
 import org.apache.directory.server.dns.messages.QuestionRecord;
+import org.apache.directory.server.dns.messages.ResourceRecord;
 
 
 /**
@@ -33,5 +34,12 @@
  */
 public interface RecordStore
 {
-    public Set getRecords( QuestionRecord question ) throws Exception;
+    /**
+     * Returns a set of {@link ResourceRecord}s, given a DNS {@link QuestionRecord}.
+     *
+     * @param question
+     * @return The set of {@link ResourceRecord}s.
+     * @throws Exception
+     */
+    public Set<ResourceRecord> getRecords( QuestionRecord question ) throws Exception;
 }



Mime
View raw message