You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/11/20 01:56:36 UTC

[james-project] 08/49: [Refactoring] Fix DomainList exceptions

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 8cd3907946d930ed6fdf7d33eadd188c13a2fe8b
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon Nov 18 14:09:20 2019 +0700

    [Refactoring] Fix DomainList exceptions
---
 .../src/main/java/org/apache/james/domainlist/api/DomainList.java     | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/server/data/data-api/src/main/java/org/apache/james/domainlist/api/DomainList.java b/server/data/data-api/src/main/java/org/apache/james/domainlist/api/DomainList.java
index 5a97971..29cd268 100644
--- a/server/data/data-api/src/main/java/org/apache/james/domainlist/api/DomainList.java
+++ b/server/data/data-api/src/main/java/org/apache/james/domainlist/api/DomainList.java
@@ -29,10 +29,8 @@ import org.apache.james.core.Domain;
 public interface DomainList {
 
     /**
-     * Return array of domains which should be used as localdomains. Return null
+     * Return list of domains which should be used as localdomains. Return empty
      * if no domain is found.
-     * 
-     * @return domains
      */
     List<Domain> getDomains() throws DomainListException;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org