jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1329491 - /jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
Date Mon, 23 Apr 2012 22:30:52 GMT
Author: sebb
Date: Mon Apr 23 22:30:51 2012
New Revision: 1329491

URL: http://svn.apache.org/viewvc?rev=1329491&view=rev
Log:
Tidy up

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java?rev=1329491&r1=1329490&r2=1329491&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java Mon Apr 23 22:30:51 2012
@@ -141,12 +141,13 @@ public class Save implements Command {
             ostream = new FileOutputStream(updateFile);
             SaveService.saveTree(subTree, ostream);
         } catch (Throwable ex) {
-            GuiPackage.getInstance().setDirty(true);
-            GuiPackage.getInstance().setTestPlanFile(null);
             log.error("", ex);
             if (ex instanceof Error){
                 throw (Error) ex;
             }
+            GuiPackage guiPack = GuiPackage.getInstance();
+            guiPack.setDirty(true);
+            guiPack.setTestPlanFile(null);
             if (ex instanceof RuntimeException){
                 throw (RuntimeException) ex;
             }



Mime
View raw message