You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by vl...@apache.org on 2019/06/08 18:42:28 UTC

[jmeter] 24/47: May be called from XStream; log not used

This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to annotated tag v2_3
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit cfef23375569a39bf08a32468ee849a469c515f7
Author: Sebastian Bazley <se...@apache.org>
AuthorDate: Fri Sep 21 23:31:00 2007 +0000

    May be called from XStream; log not used
    
    git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2@578321 13f79535-47bb-0310-9956-ffa450edef68
    
    Former-commit-id: de580b213d4b262b2134b9503ce572cf886feaaf
---
 src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java b/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java
index a5aff10..e0f5fac 100644
--- a/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java
+++ b/src/core/org/apache/jmeter/samplers/StatisticalSampleResult.java
@@ -20,21 +20,18 @@ package org.apache.jmeter.samplers;
 
 import java.io.Serializable;
 
-import org.apache.jorphan.logging.LoggingManager;
-import org.apache.log.Logger;
-
 /**
  * @author Lars Krog-Jensen
  *         Created: 2005-okt-04
  */
 public class StatisticalSampleResult extends SampleResult implements
 		Serializable {
-    private static final Logger log = LoggingManager.getLoggerForClass();
     
+	private static final long serialVersionUID = 23L;
+
 	private int errorCount;
 
-    public StatisticalSampleResult(){
-       log.warn("Constructor only intended for use in testing"); // $NON-NLS-1$
+    public StatisticalSampleResult(){// May be called by XStream
     }
     
 	public StatisticalSampleResult(SampleResult res) {