jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1389516 - /jmeter/trunk/src/core/org/apache/jmeter/gui/util/EscapeDialog.java
Date Mon, 24 Sep 2012 19:08:20 GMT
Author: milamber
Date: Mon Sep 24 19:08:20 2012
New Revision: 1389516

URL: http://svn.apache.org/viewvc?rev=1389516&view=rev
Log:
Avoid this warning
[java] o.a.j.junit.JMeterTest WARN: java.io.Serializable: NoSuchMethodException  org.apache.jmeter.gui.util.EscapeDialog,
missing empty Constructor or Constructor with Object parameter

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/EscapeDialog.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/EscapeDialog.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/util/EscapeDialog.java?rev=1389516&r1=1389515&r2=1389516&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/util/EscapeDialog.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/util/EscapeDialog.java Mon Sep 24 19:08:20
2012
@@ -30,19 +30,19 @@ import javax.swing.JRootPane;
 
 import org.apache.jmeter.gui.action.KeyStrokes;
 
-/**
- * 
- */
 public class EscapeDialog extends JDialog {         
-    /**
-     * 
-     */
+
     private static final long serialVersionUID = 1319421816741139938L;
 
+    public EscapeDialog() {
+        super();
+    }
+
     public EscapeDialog(Frame frame, String title, boolean modal) {
         super(frame, title, modal);
     }
     
+    @Override
     protected JRootPane createRootPane() { 
         JRootPane rootPane = new JRootPane();
         Action escapeAction = new AbstractAction("ESCAPE") {    



Mime
View raw message