Skip to content

Commit cd9a177

Browse files
committed
nit
1 parent 7a3db44 commit cd9a177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/ml/util/ReadWrite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ private[spark] object ReadWriteUtils {
11891189
var nextBytes = dis.readInt()
11901190
while (nextBytes >= 0) {
11911191
val bytes = dis.readNBytes(nextBytes)
1192-
buff.addOne(bytes)
1192+
buff.append(bytes)
11931193
nextBytes = dis.readInt()
11941194
}
11951195
require(nextBytes == -1)

0 commit comments

Comments
 (0)