From 2cceaff9ae537024c64779300a8434d9cf77d29b Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Mon, 14 Jan 2019 23:40:48 +0000 Subject: [PATCH] JAL-3141 Made more constants --- src/jalview/io/BackupFiles.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/jalview/io/BackupFiles.java b/src/jalview/io/BackupFiles.java index 3fc57fc..7a026f9 100644 --- a/src/jalview/io/BackupFiles.java +++ b/src/jalview/io/BackupFiles.java @@ -28,25 +28,25 @@ public class BackupFiles { // labels for saved params in Cache and .jalview_properties - private static String NS = "BACKUPFILES"; + private static final String NS = "BACKUPFILES"; - public static String ENABLED = NS + "_ENABLED"; + public static final String ENABLED = NS + "_ENABLED"; - public static String SUFFIX = NS + "_SUFFIX"; + public static final String SUFFIX = NS + "_SUFFIX"; - public static String NO_MAX = NS + "_NO_MAX"; + public static final String NO_MAX = NS + "_NO_MAX"; - public static String ROLL_MAX = NS + "_ROLL_MAX"; + public static final String ROLL_MAX = NS + "_ROLL_MAX"; - public static String SUFFIX_DIGITS = NS + "_SUFFIX_DIGITS"; + public static final String SUFFIX_DIGITS = NS + "_SUFFIX_DIGITS"; public static final String NUM_PLACEHOLDER = "%n"; - public static String REVERSE_ORDER = NS + "_REVERSE_ORDER"; + public static final String REVERSE_ORDER = NS + "_REVERSE_ORDER"; - public static String CONFIRM_DELETE_OLD = NS + "_CONFIRM_DELETE_OLD"; + public static final String CONFIRM_DELETE_OLD = NS + "_CONFIRM_DELETE_OLD"; - private static String DEFAULT_TEMP_FILE = "jalview_temp_file_" + NS; + private static final String DEFAULT_TEMP_FILE = "jalview_temp_file_" + NS; // file - File object to be backed up and then updated (written over) private File file; -- 1.7.10.2