X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FFormatAdapter.java;fp=src%2Fjalview%2Fio%2FFormatAdapter.java;h=735619f4b29adf16797f0fe0c5cc7ff1026b7b3e;hb=c0501eaa85c0594f9275766f64de8ea44a59c368;hp=31751f5c8fd34a5d39236f9aa50b5a9983902897;hpb=304e64fb34b32659be1bbfd39fb4e15b2f79586e;p=jalview.git diff --git a/src/jalview/io/FormatAdapter.java b/src/jalview/io/FormatAdapter.java index 31751f5..735619f 100755 --- a/src/jalview/io/FormatAdapter.java +++ b/src/jalview/io/FormatAdapter.java @@ -65,14 +65,11 @@ public class FormatAdapter extends AppletFormatAdapter private void init() { - if (jalview.bin.Cache.getDefault("STRUCT_FROM_PDB", true)) + if (Cache.getDefault("STRUCT_FROM_PDB", true)) { - annotFromStructure = jalview.bin.Cache.getDefault("ADD_TEMPFACT_ANN", - true); - localSecondaryStruct = jalview.bin.Cache.getDefault("ADD_SS_ANN", - true); - serviceSecondaryStruct = jalview.bin.Cache.getDefault("USE_RNAVIEW", - true); + annotFromStructure = Cache.getDefault("ADD_TEMPFACT_ANN", true); + localSecondaryStruct = Cache.getDefault("ADD_SS_ANN", true); + serviceSecondaryStruct = Cache.getDefault("USE_RNAVIEW", true); } else { @@ -164,8 +161,8 @@ public class FormatAdapter extends AppletFormatAdapter public boolean getCacheSuffixDefault(FileFormatI format) { - return Cache.getDefault(format.getName().toUpperCase(Locale.ROOT) + "_JVSUFFIX", - true); + return Cache.getDefault( + format.getName().toUpperCase(Locale.ROOT) + "_JVSUFFIX", true); } public String formatSequences(FileFormatI format, AlignmentI alignment,