Author: dbkr
Date: 2008-05-20 21:22:04 +0000 (Tue, 20 May 2008)
New Revision: 19980

Modified:
   trunk/apps/Freemail/src/freemail/OutboundContact.java
   trunk/apps/Freemail/src/freemail/utils/PropsFile.java
Log:
Fix the build (seems reasonable that PropsFile should have a toString() for 
printing logging strings).


Modified: trunk/apps/Freemail/src/freemail/OutboundContact.java
===================================================================
--- trunk/apps/Freemail/src/freemail/OutboundContact.java       2008-05-20 
21:10:04 UTC (rev 19979)
+++ trunk/apps/Freemail/src/freemail/OutboundContact.java       2008-05-20 
21:22:04 UTC (rev 19980)
@@ -699,7 +699,7 @@

                        if(msgs[i].slot==null) {
                                Logger.normal(this,"Index file does not contain 
slot name for this message, the mail cannot be sent this way.");
-                               Logger.debug(this,"Filename is 
"+contactfile.getFile().getPath());
+                               Logger.debug(this,"Filename is 
"+contactfile.toString());
                                continue;
                        }


Modified: trunk/apps/Freemail/src/freemail/utils/PropsFile.java
===================================================================
--- trunk/apps/Freemail/src/freemail/utils/PropsFile.java       2008-05-20 
21:10:04 UTC (rev 19979)
+++ trunk/apps/Freemail/src/freemail/utils/PropsFile.java       2008-05-20 
21:22:04 UTC (rev 19980)
@@ -182,4 +182,8 @@
                }
                return true;
        }
+       
+       public String toString() {
+               return file.getPath();
+       }
 }


Reply via email to