am 62cbaba7: Merge "Update the MAX supported file version for downloaded static Dictionaries."
* commit '62cbaba715878ea31811d4fc7300741510931f6d': Update the MAX supported file version for downloaded static Dictionaries.main
commit
35a9bdbee8
|
@ -172,8 +172,8 @@ public final class FormatSpec {
|
||||||
public static final int VERSION2 = 2;
|
public static final int VERSION2 = 2;
|
||||||
public static final int VERSION201 = 201;
|
public static final int VERSION201 = 201;
|
||||||
public static final int VERSION202 = 202;
|
public static final int VERSION202 = 202;
|
||||||
// format version for Fava
|
// format version for Fava Dictionaries.
|
||||||
public static final int VERSION300 = 300;
|
public static final int VERSION_DELIGHT3 = 86736212;
|
||||||
public static final int MINIMUM_SUPPORTED_VERSION_OF_CODE_POINT_TABLE = VERSION201;
|
public static final int MINIMUM_SUPPORTED_VERSION_OF_CODE_POINT_TABLE = VERSION201;
|
||||||
// Dictionary version used for testing.
|
// Dictionary version used for testing.
|
||||||
public static final int VERSION4_ONLY_FOR_TESTING = 399;
|
public static final int VERSION4_ONLY_FOR_TESTING = 399;
|
||||||
|
@ -182,7 +182,7 @@ public final class FormatSpec {
|
||||||
public static final int VERSION4 = VERSION403;
|
public static final int VERSION4 = VERSION403;
|
||||||
public static final int VERSION4_DEV = VERSION403;
|
public static final int VERSION4_DEV = VERSION403;
|
||||||
public static final int MINIMUM_SUPPORTED_STATIC_VERSION = VERSION202;
|
public static final int MINIMUM_SUPPORTED_STATIC_VERSION = VERSION202;
|
||||||
public static final int MAXIMUM_SUPPORTED_STATIC_VERSION = VERSION300;
|
public static final int MAXIMUM_SUPPORTED_STATIC_VERSION = VERSION_DELIGHT3;
|
||||||
static final int MINIMUM_SUPPORTED_DYNAMIC_VERSION = VERSION4;
|
static final int MINIMUM_SUPPORTED_DYNAMIC_VERSION = VERSION4;
|
||||||
static final int MAXIMUM_SUPPORTED_DYNAMIC_VERSION = VERSION4_DEV;
|
static final int MAXIMUM_SUPPORTED_DYNAMIC_VERSION = VERSION4_DEV;
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@ public class DictionaryInfoUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reverse escaping done by replaceFileNameDangerousCharacters.
|
* Reverse escaping done by {@link #replaceFileNameDangerousCharacters(String)}.
|
||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
public static String getWordListIdFromFileName(@Nonnull final String fname) {
|
public static String getWordListIdFromFileName(@Nonnull final String fname) {
|
||||||
|
|
Loading…
Reference in New Issue