jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1783944 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/GraphVisualizer.java
Date Tue, 21 Feb 2017 21:18:46 GMT
Author: fschumacher
Date: Tue Feb 21 21:18:46 2017
New Revision: 1783944

URL: http://svn.apache.org/viewvc?rev=1783944&view=rev
Log:
Rename private method to comply with java naming conventions.

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/GraphVisualizer.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/GraphVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/GraphVisualizer.java?rev=1783944&r1=1783943&r2=1783944&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/GraphVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/GraphVisualizer.java Tue Feb
21 21:18:46 2017
@@ -129,7 +129,7 @@ public class GraphVisualizer extends Abs
      * @deprecated use {@link GraphVisualizer#add(SampleResult)} instead
      */
     public void updateGui(Sample s) {
-        JMeterUtils.runSafe(false, () -> _updateGui(s));
+        JMeterUtils.runSafe(false, () -> updateGuiInAWTThread(s));
     }
 
     // called inside AWT Thread
@@ -141,11 +141,11 @@ public class GraphVisualizer extends Abs
                 s = model.addSample(newSamples.pop());
             }
         }
-        _updateGui(s);
+        updateGuiInAWTThread(s);
     }
 
     // called inside AWT Thread
-    private void _updateGui(Sample s) {
+    private void updateGuiInAWTThread(Sample s) {
         if (s == null) {
             return;
         }



Mime
View raw message