massive robustness overhaul
[org.ibex.mail.git] / src / org / ibex / mail / Address.java
index 694523d..1bf6b04 100644 (file)
@@ -37,9 +37,9 @@ public class Address extends JSReflection implements Serializable {
         host = s.substring(s.indexOf('@')+1);
     }
     public String toString() { return user + "@" + host; }
+    public String coerceToString() { return toString(); }
     public String toString(boolean desc) {
         return desc && description != null && description.length() > 0 ? (description+" <" + toString() + ">") : toString(); }
-    public String coerceToString() { return toString(); }
     public static class Malformed extends Message.Malformed { public Malformed(String s) { super(s); } }
 
     public boolean isLocal() {