mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Updated our list of countries for Book Search.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1781 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
146511ea00
commit
f3d60dd5bf
|
@ -77,13 +77,11 @@ public final class LocaleManager {
|
||||||
GOOGLE_PRODUCT_SEARCH_COUNTRY_TLD.put(Locale.UK, "co.uk");
|
GOOGLE_PRODUCT_SEARCH_COUNTRY_TLD.put(Locale.UK, "co.uk");
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(dswitkin): Not sure which countries Google Book Search has launched in, so for the moment
|
// Book search is offered everywhere that web search is available.
|
||||||
// we'll keep everything in web search minus China as with v3.5.
|
|
||||||
private static final Map<Locale,String> GOOGLE_BOOK_SEARCH_COUNTRY_TLD;
|
private static final Map<Locale,String> GOOGLE_BOOK_SEARCH_COUNTRY_TLD;
|
||||||
static {
|
static {
|
||||||
GOOGLE_BOOK_SEARCH_COUNTRY_TLD = new HashMap<Locale,String>();
|
GOOGLE_BOOK_SEARCH_COUNTRY_TLD = new HashMap<Locale,String>();
|
||||||
GOOGLE_BOOK_SEARCH_COUNTRY_TLD.putAll(GOOGLE_COUNTRY_TLD);
|
GOOGLE_BOOK_SEARCH_COUNTRY_TLD.putAll(GOOGLE_COUNTRY_TLD);
|
||||||
GOOGLE_BOOK_SEARCH_COUNTRY_TLD.remove(Locale.CHINA);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private LocaleManager() {}
|
private LocaleManager() {}
|
||||||
|
|
Loading…
Reference in a new issue