licensing update to APSL 2.0
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Watcher.java
index 86b1958..19a33d6 100644 (file)
@@ -1,3 +1,7 @@
+// 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.*;
@@ -5,6 +9,7 @@ import java.util.*;
 
 public abstract class Watcher extends Watched {
     protected Watcher(String path) { super(path); }
-    public abstract void changed(Watched w);
     public Watcher watcher() { return this; }
+    public abstract void changed(Watched w);
+    public synchronized void scan() throws IOException { super.scan(); }
 }