jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1742806 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
Date Sun, 08 May 2016 12:18:19 GMT
Author: sebb
Date: Sun May  8 12:18:19 2016
New Revision: 1742806

URL: http://svn.apache.org/viewvc?rev=1742806&view=rev
Log:
Docn updates

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java?rev=1742806&r1=1742805&r2=1742806&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
(original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
Sun May  8 12:18:19 2016
@@ -37,13 +37,13 @@ public class NormalizerSampleConsumer ex
 
     private static final String PARSE_TIMESTAMP_EXCEPTION_MESSAGE = "Could not parse timeStamp
<%s> on sample %s";
 
-    private static final String DEFAULT_DATE_FORMAT = "HH:mm:ss";
+    private static final String DEFAULT_DATE_FORMAT = "HH:mm:ss"; // $NON-NLS-1$
 
     private int timestamp;
 
     private final SimpleDateFormat df = new SimpleDateFormat(
             JMeterUtils.getPropDefault(
-                    "jmeter.save.saveservice.timestamp_format",
+                    "jmeter.save.saveservice.timestamp_format", // $NON-NLS-1$
                     DEFAULT_DATE_FORMAT));
 
     private SampleMetadata sampleMetadata;
@@ -65,7 +65,6 @@ public class NormalizerSampleConsumer ex
                 // Try to parse the timestamp assuming is a long
                 date = new Date(Long.parseLong(tStr));
             } catch (NumberFormatException ex) {
-                // Try to parse the timestamp assuming it has HH:mm:ss format
                 date = df.parse(tStr);
             }
         } catch (Exception e) {



Mime
View raw message