Update the MAX supported file version for downloaded static Dictionaries.

Change-Id: I72d37cc21585b18f4a41ff32627024502f10e993
main
Mohammadinamul Sheik 2015-02-27 10:30:23 -08:00
parent edd94a449e
commit 377ba98b75
2 changed files with 4 additions and 4 deletions

View File

@ -172,8 +172,8 @@ public final class FormatSpec {
public static final int VERSION2 = 2;
public static final int VERSION201 = 201;
public static final int VERSION202 = 202;
// format version for Fava
public static final int VERSION300 = 300;
// format version for Fava Dictionaries.
public static final int VERSION_DELIGHT3 = 86736212;
public static final int MINIMUM_SUPPORTED_VERSION_OF_CODE_POINT_TABLE = VERSION201;
// Dictionary version used for testing.
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_DEV = VERSION403;
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 MAXIMUM_SUPPORTED_DYNAMIC_VERSION = VERSION4_DEV;

View File

@ -153,7 +153,7 @@ public class DictionaryInfoUtils {
}
/**
* Reverse escaping done by replaceFileNameDangerousCharacters.
* Reverse escaping done by {@link #replaceFileNameDangerousCharacters(String)}.
*/
@Nonnull
public static String getWordListIdFromFileName(@Nonnull final String fname) {