cleanup
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Host.java
index c5ae337..1a3dd3e 100644 (file)
@@ -1,15 +1,20 @@
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
 package org.ibex.jinetd;
 import org.ibex.util.*;
 import java.io.*;
 import java.util.*;
 import java.lang.reflect.*;
 
-public class Host extends Loader {
+public class Host extends File {
 
     final String hostname;
     public Host(String path, String hostname) { super(path); this.hostname = hostname; }
 
-    public void changed(Watched w) {
+    public void changed(File f) { }
+        /*
         super.changed(w);
         Log.debug(this, "changed(" + w + ")");
         try {
@@ -20,7 +25,7 @@ public class Host extends Loader {
             Method m = c.getMethod("main", new Class[] { });
             m.invoke(null, new Object[] { });
         } catch (Exception e) {
-            Log.warn(this, "nope");
+            Log.warn(this, e);
         }
-    }
+        */
 }