formatting
[org.ibex.mail.git] / src / org / ibex / mail / Target.java
index 7f89b70..952a46f 100644 (file)
@@ -8,7 +8,7 @@ import org.ibex.js.*;
 import org.ibex.mail.target.*;
 
 /** base class for mail message "destinations" */
-public class Target extends JS.Obj {
+public interface Target {
     public static final Target root = Script.root();
-    public void accept(Message m) throws IOException, MailException { throw new MailException("Target.accept() unimplemented"); }
+    public abstract void accept(Message m) throws IOException, MailException;
 }