From: Cecilia Roes Date: Thu, 27 Nov 2014 10:12:02 +0000 (+0000) Subject: JAVA/JS: Documentation fix and added missing licences. X-Git-Tag: upstream/7.0.6~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0af2f57f4e915286db2013c305d453aac2162697;hp=dd874b0191e939ac79d90fab65871c4a69e02ceb;p=platform%2Fupstream%2Flibphonenumber.git JAVA/JS: Documentation fix and added missing licences. --- diff --git a/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/PhoneNumberOfflineGeocoder.java b/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/PhoneNumberOfflineGeocoder.java index 32bc681..5642a11 100644 --- a/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/PhoneNumberOfflineGeocoder.java +++ b/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/PhoneNumberOfflineGeocoder.java @@ -75,11 +75,11 @@ public class PhoneNumberOfflineGeocoder { if (!regionWhereNumberIsValid.equals("ZZ")) { // If we can't assign the phone number as definitely belonging to only one territory, // then we return nothing. - return ""; - } + return ""; + } regionWhereNumberIsValid = regionCode; - } - } + } + } return getRegionDisplayName(regionWhereNumberIsValid, language); } } diff --git a/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/MatcherApi.java b/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/MatcherApi.java index 4fda1b0..38319cb 100644 --- a/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/MatcherApi.java +++ b/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/MatcherApi.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 The Libphonenumber Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.i18n.phonenumbers.internal; import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc; diff --git a/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/RegexBasedMatcher.java b/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/RegexBasedMatcher.java index 5dd4b70..125a182 100644 --- a/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/RegexBasedMatcher.java +++ b/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/RegexBasedMatcher.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 The Libphonenumber Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.i18n.phonenumbers.internal; import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc; diff --git a/javascript/README b/javascript/README index a99121c..de9b402 100644 --- a/javascript/README +++ b/javascript/README @@ -11,8 +11,8 @@ How to setup: e.g. svn checkout http://libphonenumber.googlecode.com/svn/trunk/ ~/src/libphonenumber -svn checkout http://closure-library.googlecode.com/svn/trunk/ ~/src/closure-library -svn checkout http://closure-compiler.googlecode.com/svn/trunk/ ~/src/closure-compiler +git clone https://github.com/google/closure-library/ +git clone https://github.com/google/closure-compiler.git svn checkout http://closure-linter.googlecode.com/svn/trunk/ ~/src/closure-linter svn checkout http://python-gflags.googlecode.com/svn/trunk/ ~/src/python-gflags