jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1226920 - /jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
Date Tue, 03 Jan 2012 19:02:38 GMT
Author: sebb
Date: Tue Jan  3 19:02:38 2012
New Revision: 1226920

URL: http://svn.apache.org/viewvc?rev=1226920&view=rev
Log:
Value is already a String (Findbugs)

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java?rev=1226920&r1=1226919&r2=1226920&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java Tue Jan  3 19:02:38
2012
@@ -267,7 +267,7 @@ public class MailerModel extends Abstrac
         InternetAddress[] address = new InternetAddress[vEmails.size()];
 
         for (int k = 0; k < vEmails.size(); k++) {
-            address[k] = new InternetAddress(vEmails.get(k).toString());
+            address[k] = new InternetAddress(vEmails.get(k));
         }
 
         // create some properties and get the default Session



Mime
View raw message