From: Ben Soares Date: Mon, 14 Jan 2019 23:40:48 +0000 (+0000) Subject: JAL-3141 Made more constants X-Git-Tag: Release_2_11_0~17^2~97^2~33 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2cceaff9ae537024c64779300a8434d9cf77d29b;p=jalview.git JAL-3141 Made more constants --- 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;