summaryrefslogtreecommitdiff
path: root/phonenumberutil.h
diff options
context:
space:
mode:
authorlararennie@google.com <lararennie@google.com@ee073f10-1060-11df-b6a4-87a95322a99c>2012-06-29 14:25:30 +0000
committerlararennie@google.com <lararennie@google.com@ee073f10-1060-11df-b6a4-87a95322a99c>2012-06-29 14:25:30 +0000
commitd61796e3253144c5b28d096d748bc27271397681 (patch)
tree1bbdae2b84afac64239c5afeea2e1cc17f45458e /phonenumberutil.h
parent53e7036f57652f13e0b69e50dbaa1c80a7b6bd5b (diff)
downloadphonenumbers-d61796e3253144c5b28d096d748bc27271397681.tar.gz
CPP: Comment fix, including small fix to sample code.
git-svn-id: http://libphonenumber.googlecode.com/svn/trunk/cpp/src/phonenumbers@479 ee073f10-1060-11df-b6a4-87a95322a99c
Diffstat (limited to 'phonenumberutil.h')
-rw-r--r--phonenumberutil.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/phonenumberutil.h b/phonenumberutil.h
index d21542a..3aeb1fb 100644
--- a/phonenumberutil.h
+++ b/phonenumberutil.h
@@ -161,7 +161,7 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
// DEFAULT_REGIONS_.
//
// The PhoneNumberUtil is implemented as a singleton. Therefore, calling
- // getInstance multiple times will only result in one instance being created.
+ // GetInstance multiple times will only result in one instance being created.
#ifdef USE_GOOGLE_BASE
static PhoneNumberUtil* GetInstance();
#endif
@@ -194,7 +194,7 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
// a way that the resultant subscriber number should be diallable, at least on
// some devices. An example of how this could be used:
//
- // const PhoneNumberUtil& phone_util(PhoneNumberUtil::GetInstance());
+ // const PhoneNumberUtil& phone_util(*PhoneNumberUtil::GetInstance());
// PhoneNumber number;
// phone_util.Parse("16502530000", "US", &number);
// string national_significant_number;
@@ -213,8 +213,8 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
// subscriber_number = national_significant_number;
// }
//
- // N.B.: area code is a very ambiguous concept, so the I18N team generally
- // recommends against using it for most purposes, but recommends using the
+ // N.B.: area code is a very ambiguous concept, so the authors generally
+ // recommend against using it for most purposes, but recommend using the
// more general national_number instead. Read the following carefully before
// deciding to use this method:
//
@@ -237,7 +237,7 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
// there is a subscriber number part that follows. An example of how this
// could be used:
//
- // const PhoneNumberUtil& phone_util(PhoneNumberUtil::GetInstance());
+ // const PhoneNumberUtil& phone_util(*PhoneNumberUtil::GetInstance());
// PhoneNumber number;
// phone_util.Parse("16502530000", "US", &number);
// string national_significant_number;