aboutsummaryrefslogtreecommitdiff
path: root/icing/legacy/core
diff options
context:
space:
mode:
authorTerry Wang <tytytyww@google.com>2020-09-24 13:39:23 -0700
committerTerry Wang <tytytyww@google.com>2020-09-24 13:39:23 -0700
commite15b6b66f871a71b73278c34d5c54f648f880c29 (patch)
tree61e187172a8802fae8e39f04ce69d3ae5c939f2e /icing/legacy/core
parent9f1b9cf4dc93fa7bfee0a3637c93dc5b557aab30 (diff)
downloadicing-e15b6b66f871a71b73278c34d5c54f648f880c29.tar.gz
Pull upstream changes.
Change-Id: I44831fdadcdb67f2e19570a35cb4c76faf8397f9
Diffstat (limited to 'icing/legacy/core')
-rw-r--r--icing/legacy/core/icing-string-util.cc8
-rw-r--r--icing/legacy/core/icing-string-util.h4
2 files changed, 0 insertions, 12 deletions
diff --git a/icing/legacy/core/icing-string-util.cc b/icing/legacy/core/icing-string-util.cc
index 1954cd3..2eb64ac 100644
--- a/icing/legacy/core/icing-string-util.cc
+++ b/icing/legacy/core/icing-string-util.cc
@@ -11,13 +11,6 @@
// 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.
-
-// Copyright 2011 Google Inc. All Rights Reserved.
-// Author: ulas@google.com (Ulas Kirazci)
-// sbanacho@google.com (Scott Banachowski)
-//
-// This is a list of IsGoogleLetter letters. It is copied from
-// google3/util/utf8/proptables/letters.txt CL 19164202.
#include "icing/legacy/core/icing-string-util.h"
#include <stdarg.h>
@@ -34,7 +27,6 @@
namespace icing {
namespace lib {
-namespace {} // namespace
uint32_t IcingStringUtil::UpdateCrc32(uint32_t crc, const char *str, int len) {
if (len > 0) {
crc = ~crc32(~crc, reinterpret_cast<const Bytef *>(str), len);
diff --git a/icing/legacy/core/icing-string-util.h b/icing/legacy/core/icing-string-util.h
index 4ea93ec..767e581 100644
--- a/icing/legacy/core/icing-string-util.h
+++ b/icing/legacy/core/icing-string-util.h
@@ -12,10 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// Copyright 2011 Google Inc. All Rights Reserved.
-// Author: ulas@google.com (Ulas Kirazci)
-// sbanacho@google.com (Scott Banachowski)
-
#ifndef ICING_LEGACY_CORE_ICING_STRING_UTIL_H_
#define ICING_LEGACY_CORE_ICING_STRING_UTIL_H_