Skip to content

Commit f719cfe

Browse files
committed
fix issue
1 parent d1a9961 commit f719cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actor/src/main/scala/org/apache/pekko/util/ByteString.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ object ByteString {
346346
}
347347
i = 0
348348
while (i < byteCount) {
349-
if (apply(aIndex) != checkBytes(bIndex)) return false
349+
if (bytes(aIndex) != checkBytes(bIndex)) return false
350350
aIndex += 1
351351
bIndex += 1
352352
i += 1
@@ -634,7 +634,7 @@ object ByteString {
634634
}
635635
i = 0
636636
while (i < byteCount) {
637-
if (apply(aIndex) != checkBytes(bIndex)) return false
637+
if (bytes(aIndex) != checkBytes(bIndex)) return false
638638
aIndex += 1
639639
bIndex += 1
640640
i += 1

0 commit comments

Comments
 (0)