JAVA/JS: Documentation fix and added missing licences.
authorCecilia Roes <roes@google.com>
Thu, 27 Nov 2014 10:12:02 +0000 (10:12 +0000)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 9 Jun 2015 11:43:22 +0000 (20:43 +0900)
java/geocoder/src/com/google/i18n/phonenumbers/geocoding/PhoneNumberOfflineGeocoder.java
java/libphonenumber/src/com/google/i18n/phonenumbers/internal/MatcherApi.java
java/libphonenumber/src/com/google/i18n/phonenumbers/internal/RegexBasedMatcher.java
javascript/README

index 32bc681..5642a11 100644 (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);
     }
   }
index 4fda1b0..38319cb 100644 (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;
index 5dd4b70..125a182 100644 (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;
index a99121c..de9b402 100644 (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