jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1791589 - in /jmeter/trunk/src/core/org/apache/jmeter/report: config/ConfigurationUtils.java dashboard/ReportGenerator.java
Date Sun, 16 Apr 2017 09:48:25 GMT
Author: fschumacher
Date: Sun Apr 16 09:48:24 2017
New Revision: 1791589

URL: http://svn.apache.org/viewvc?rev=1791589&view=rev
Log:
Fix some typo in private constants.

I have left out the corrections for sources, that are not really part of JMeter -
like jQuery and co - and I didn't include the spelling corrections for
british vs american english and the camel case changes.

Closes #290 on github, contributed by Anass Benomar (abenomar at umanis.com).
Bugzilla Id: 60994

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/config/ConfigurationUtils.java
    jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/config/ConfigurationUtils.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/config/ConfigurationUtils.java?rev=1791589&r1=1791588&r2=1791589&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/config/ConfigurationUtils.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/config/ConfigurationUtils.java Sun Apr
16 09:48:24 2017
@@ -28,7 +28,7 @@ import org.apache.jmeter.report.core.Con
  */
 public class ConfigurationUtils {
 
-    private static final String NOT_SUPPORTED_CONVERTION_FMT = "Convert \"%s\" to \"%s\"
is not supported";
+    private static final String NOT_SUPPORTED_CONVERSION_FMT = "Convert \"%s\" to \"%s\"
is not supported";
 
     /**
      * Instantiates a new configuration utils.
@@ -55,7 +55,7 @@ public class ConfigurationUtils {
             return Converters.convert(clazz, value);
         } catch (ConvertException ex) {
             throw new ConfigurationException(String.format(
-                NOT_SUPPORTED_CONVERTION_FMT, value, clazz.getName()));
+                NOT_SUPPORTED_CONVERSION_FMT, value, clazz.getName()));
         }
     }
 }

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java?rev=1791589&r1=1791588&r2=1791589&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java Sun Apr
16 09:48:24 2017
@@ -83,7 +83,7 @@ public class ReportGenerator {
 
     private static final String INVALID_CLASS_FMT = "Class name \"%s\" is not valid.";
     private static final String INVALID_EXPORT_FMT = "Data exporter \"%s\" is unable to export
data.";
-    private static final String NOT_SUPPORTED_CONVERTION_FMT = "Not supported conversion
to \"%s\"";
+    private static final String NOT_SUPPORTED_CONVERSION_FMT = "Not supported conversion
to \"%s\"";
 
     public static final String NORMALIZER_CONSUMER_NAME = "normalizer";
     public static final String BEGIN_DATE_CONSUMER_NAME = "beginDate";
@@ -547,7 +547,7 @@ public class ReportGenerator {
                             if (converter == null) {
                                 throw new GenerationException(
                                         String.format(
-                                                NOT_SUPPORTED_CONVERTION_FMT,
+                                                NOT_SUPPORTED_CONVERSION_FMT,
                                                 parameterType
                                                         .getName()));
                             }



Mime
View raw message