Unnecessary interface modifier

This commit is contained in:
Lars Grefer
2019-08-09 00:42:35 +02:00
parent 40bee457f9
commit d9c1f03b84
23 changed files with 63 additions and 75 deletions

View File

@@ -33,7 +33,7 @@ public interface DnsResolver {
* @throws DnsEntryNotFoundException No record found
* @throws DnsLookupException Unknown DNS error
*/
public String resolveIpAddress(String hostname) throws DnsEntryNotFoundException,
String resolveIpAddress(String hostname) throws DnsEntryNotFoundException,
DnsLookupException;
/**
@@ -65,7 +65,7 @@ public interface DnsResolver {
* @throws DnsEntryNotFoundException No record found
* @throws DnsLookupException Unknown DNS error
*/
public String resolveServiceEntry(String serviceType, String domain)
String resolveServiceEntry(String serviceType, String domain)
throws DnsEntryNotFoundException, DnsLookupException;
/**
@@ -80,7 +80,7 @@ public interface DnsResolver {
* @see #resolveServiceEntry(String, String)
* @see #resolveIpAddress(String)
*/
public String resolveServiceIpAddress(String serviceType, String domain)
String resolveServiceIpAddress(String serviceType, String domain)
throws DnsEntryNotFoundException, DnsLookupException;
}

View File

@@ -34,6 +34,6 @@ public interface InitialContextFactory {
* Must return a DirContext which can be used for DNS queries
* @return JNDI DirContext
*/
public DirContext getCtx();
DirContext getCtx();
}