X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FBackupFilesTest.java;h=28dbf5cc1d592d06bb245b1af54b94a3183c672a;hb=304e64fb34b32659be1bbfd39fb4e15b2f79586e;hp=e735ef6ef825b7a251fa516e28f81368b4f5012c;hpb=61ff8fb4efa315c35149c9d11850d99e3d00c441;p=jalview.git diff --git a/test/jalview/io/BackupFilesTest.java b/test/jalview/io/BackupFilesTest.java index e735ef6..28dbf5c 100644 --- a/test/jalview/io/BackupFilesTest.java +++ b/test/jalview/io/BackupFilesTest.java @@ -245,23 +245,23 @@ public class BackupFilesTest { Cache.loadProperties(propsFile); - Cache.applicationProperties.setProperty(BackupFiles.ENABLED, + Cache.setPropertyNoSave(BackupFiles.ENABLED, Boolean.toString(enabled)); - Cache.applicationProperties.setProperty( + Cache.setPropertyNoSave( BackupFilesPresetEntry.SAVEDCONFIG, bfpe.toString()); /* - Cache.applicationProperties.setProperty(BackupFiles.ENABLED, + Cache.setPropertyNoSave(BackupFiles.ENABLED, Boolean.toString(enabled)); - Cache.applicationProperties.setProperty(BackupFiles.SUFFIX, suffix); - Cache.applicationProperties.setProperty(BackupFiles.SUFFIX_DIGITS, + Cache.setPropertyNoSave(BackupFiles.SUFFIX, suffix); + Cache.setPropertyNoSave(BackupFiles.SUFFIX_DIGITS, Integer.toString(digits)); - Cache.applicationProperties.setProperty(BackupFiles.REVERSE_ORDER, + Cache.setPropertyNoSave(BackupFiles.REVERSE_ORDER, Boolean.toString(reverse)); - Cache.applicationProperties.setProperty(BackupFiles.NO_MAX, + Cache.setPropertyNoSave(BackupFiles.NO_MAX, Boolean.toString(noMax)); - Cache.applicationProperties.setProperty(BackupFiles.ROLL_MAX, + Cache.setPropertyNoSave(BackupFiles.ROLL_MAX, Integer.toString(rollMax)); - Cache.applicationProperties.setProperty(BackupFiles.CONFIRM_DELETE_OLD, + Cache.setPropertyNoSave(BackupFiles.CONFIRM_DELETE_OLD, "false"); */ }