Author: felixk
Date: Fri Sep 30 12:26:45 2011
New Revision: 1177625
URL: http://svn.apache.org/viewvc?rev=1177625&view=rev
Log:
Add values of array to string not arrays reference
Modified:
james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
Modified:
james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
URL:
http://svn.apache.org/viewvc/james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java?rev=1177625&r1=1177624&r2=1177625&view=diff
==============================================================================
---
james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
(original)
+++
james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
Fri Sep 30 12:26:45 2011
@@ -1252,13 +1252,13 @@ public class RemoteDelivery extends Gene
sb.append(" ( ");
if (exception.getInvalidAddresses().length > 0) {
- sb.append(exception.getInvalidAddresses());
+
sb.append(Arrays.toString(exception.getInvalidAddresses()));
invalidAddr = true;
}
if (exception.getValidUnsentAddresses().length > 0) {
if (invalidAddr == true)
sb.append(" ");
- sb.append(exception.getValidUnsentAddresses());
+
sb.append(Arrays.toString(exception.getValidUnsentAddresses()));
}
sb.append(" - [");
sb.append(exception.getMessage().replaceAll("\\n", ""));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]