make Message.summary() final
[org.ibex.mail.git] / src / org / ibex / mail / Message.java
index d6ef538..6738dc8 100644 (file)
@@ -165,8 +165,8 @@ public class Message extends MIME.Part {
         }
     }
 
-    public String toString() { throw new RuntimeException("Message.toString() called"); }
-    public String summary() { return "[" + envelopeFrom + " -> " + envelopeTo + "] " + subject; }
+    public       String toString() { throw new RuntimeException("Message.toString() called"); }
+    public final String summary() { return "[" + envelopeFrom + " -> " + envelopeTo + "] " + subject; }
 
     public static class Malformed extends MailException { public Malformed(String s) { super(s); } }
 }