From: Ben Soares Date: Wed, 4 Mar 2020 14:29:59 +0000 (+0000) Subject: JAL-3235 added the saveProperties call to setProperty method X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=90a413a8cf57d937a8529651a2c688ba3fe4784c;p=jalview.git JAL-3235 added the saveProperties call to setProperty method --- diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index f40fc61..6f9614e 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -638,9 +638,7 @@ public class Cache oldValue = applicationProperties.setProperty(key, obj); if (!propsAreReadOnly) { - FileOutputStream out = new FileOutputStream(propertiesFile); - applicationProperties.store(out, "---JalviewX Properties File---"); - out.close(); + saveProperties(); } } catch (Exception ex) {