jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1381343 - /jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
Date Wed, 05 Sep 2012 20:30:10 GMT
Author: pmouawad
Date: Wed Sep  5 20:30:09 2012
New Revision: 1381343

URL: http://svn.apache.org/viewvc?rev=1381343&view=rev
Log:
use indexOf(char)

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=1381343&r1=1381342&r2=1381343&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java Wed Sep  5 20:30:09
2012
@@ -161,7 +161,7 @@ public class MailerModel extends Abstrac
             while (next.hasMoreTokens()) {
                 String theToken = next.nextToken().trim();
 
-                if (theToken.indexOf("@") > 0) { //$NON-NLS-1$
+                if (theToken.indexOf('@') > 0) { //$NON-NLS-1$
                 	addressList.add(theToken);
                 } else {
                     log.warn("Ignored unexpected e-mail address: "+theToken);



Mime
View raw message