james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r453001 - in /james/server/trunk/src: java/org/apache/james/dnsserver/DNSServer.java test/org/apache/james/JamesTest.java
Date Wed, 04 Oct 2006 20:07:00 GMT
Author: bago
Date: Wed Oct  4 13:07:00 2006
New Revision: 453001

URL: http://svn.apache.org/viewvc?view=rev&rev=453001
Log:
Fix endlines

Modified:
    james/server/trunk/src/java/org/apache/james/dnsserver/DNSServer.java
    james/server/trunk/src/test/org/apache/james/JamesTest.java

Modified: james/server/trunk/src/java/org/apache/james/dnsserver/DNSServer.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/dnsserver/DNSServer.java?view=diff&rev=453001&r1=453000&r2=453001
==============================================================================
--- james/server/trunk/src/java/org/apache/james/dnsserver/DNSServer.java (original)
+++ james/server/trunk/src/java/org/apache/james/dnsserver/DNSServer.java Wed Oct  4 13:07:00
2006
@@ -536,11 +536,11 @@
      * @see org.apache.james.services.DNSServer#getHostName(java.net.InetAddress)
      */
     public String getHostName(InetAddress addr){
-	try {
+    try {
             return org.xbill.DNS.Address.getHostName(addr);
-	} catch (UnknownHostException e) {
-	    return addr.getHostAddress();
-	}
+    } catch (UnknownHostException e) {
+        return addr.getHostAddress();
+    }
     }
 
 }

Modified: james/server/trunk/src/test/org/apache/james/JamesTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/JamesTest.java?view=diff&rev=453001&r1=453000&r2=453001
==============================================================================
--- james/server/trunk/src/test/org/apache/james/JamesTest.java (original)
+++ james/server/trunk/src/test/org/apache/james/JamesTest.java Wed Oct  4 13:07:00 2006
@@ -93,12 +93,12 @@
     }
     
     private DNSServer setUpDNSServer() {
-	DNSServer dns = new AbstractDNSServer() {
-	    public String getHostName(InetAddress addr) {
-		return "localhost";
-	    }
-	};
-	return dns;
+    DNSServer dns = new AbstractDNSServer() {
+        public String getHostName(InetAddress addr) {
+        return "localhost";
+        }
+    };
+    return dns;
     }
 
     public boolean allowsPasswordlessUser() {



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


Mime
View raw message