jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1710143 - /jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java
Date Fri, 23 Oct 2015 08:47:07 GMT
Author: milamber
Date: Fri Oct 23 08:47:07 2015
New Revision: 1710143

URL: http://svn.apache.org/viewvc?rev=1710143&view=rev
Log:
Add @override tag
Bugzilla Id: 58515

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java?rev=1710143&r1=1710142&r2=1710143&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java
Fri Oct 23 08:47:07 2015
@@ -76,6 +76,7 @@ public class RenderAsJsonRenderer implem
 
 
     /** {@inheritDoc} */
+    @Override
     public void clearData() {
         this.jsonDataField.setText(""); // $NON-NLS-1$
         // don't set empty to keep json path
@@ -83,6 +84,7 @@ public class RenderAsJsonRenderer implem
     }
 
     /** {@inheritDoc} */
+    @Override
     public void init() {
         // Create the panels for the json tab
         jsonWithJSonPathPanel = createJSonPathExtractorPanel();
@@ -94,6 +96,7 @@ public class RenderAsJsonRenderer implem
      *
      * @param e the ActionEvent being processed
      */
+    @Override
     public void actionPerformed(ActionEvent e) {
         String command = e.getActionCommand();
         if ((sampleResult != null) && (JSONPATH_TESTER_COMMAND.equals(command)))
{
@@ -144,6 +147,7 @@ public class RenderAsJsonRenderer implem
 
 
     /** {@inheritDoc} */
+    @Override
     public void renderResult(SampleResult sampleResult) {
         String response = ViewResultsFullVisualizer.getResponseAsString(sampleResult);
         try {
@@ -165,6 +169,7 @@ public class RenderAsJsonRenderer implem
 
 
     /** {@inheritDoc} */
+    @Override
     public void setupTabPane() {
          // Add json-path tester pane
         if (rightSide.indexOfTab(JMeterUtils.getResString("jsonpath_tester_title")) <
0) { // $NON-NLS-1$
@@ -226,11 +231,13 @@ public class RenderAsJsonRenderer implem
     }
 
     /** {@inheritDoc} */
+    @Override
     public synchronized void setRightSide(JTabbedPane side) {
         rightSide = side;
     }
 
     /** {@inheritDoc} */
+    @Override
     public synchronized void setSamplerResult(Object userObject) {
         if (userObject instanceof SampleResult) {
             sampleResult = (SampleResult) userObject;
@@ -238,17 +245,20 @@ public class RenderAsJsonRenderer implem
     }
 
     /** {@inheritDoc} */
+    @Override
     public void setLastSelectedTab(int index) {
         // nothing to do
     }
 
     /** {@inheritDoc} */
+    @Override
     public void renderImage(SampleResult sampleResult) {
         clearData();
         jsonDataField.setText(JMeterUtils.getResString("jsonpath_render_no_text")); // $NON-NLS-1$
     }
 
     /** {@inheritDoc} */
+    @Override
     public void setBackgroundColor(Color backGround) {
     }
 



Mime
View raw message