Browse Source

JAVA/JS: Documentation fix and added missing licences.

pull/567/head
Cecilia Roes 11 years ago
committed by Mihaela Rosca
parent
commit
5b00cb5b2d
4 changed files with 38 additions and 6 deletions
  1. +4
    -4
      java/geocoder/src/com/google/i18n/phonenumbers/geocoding/PhoneNumberOfflineGeocoder.java
  2. +16
    -0
      java/libphonenumber/src/com/google/i18n/phonenumbers/internal/MatcherApi.java
  3. +16
    -0
      java/libphonenumber/src/com/google/i18n/phonenumbers/internal/RegexBasedMatcher.java
  4. +2
    -2
      javascript/README

+ 4
- 4
java/geocoder/src/com/google/i18n/phonenumbers/geocoding/PhoneNumberOfflineGeocoder.java View File

@ -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);
}
}


+ 16
- 0
java/libphonenumber/src/com/google/i18n/phonenumbers/internal/MatcherApi.java View File

@ -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;


+ 16
- 0
java/libphonenumber/src/com/google/i18n/phonenumbers/internal/RegexBasedMatcher.java View File

@ -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;


+ 2
- 2
javascript/README View File

@ -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


Loading…
Cancel
Save