From 3fb6d62e3af7f5d0df4ec9b41cabfc7f5b6bec10 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Tue, 14 Dec 2010 10:22:00 -0800 Subject: [PATCH] suffixarray: rename Data() -> Bytes() R=rsc CC=golang-dev https://golang.org/cl/3540042 --- src/pkg/index/suffixarray/suffixarray.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/index/suffixarray/suffixarray.go b/src/pkg/index/suffixarray/suffixarray.go index 0a8d9e2cb8..9dec943d57 100644 --- a/src/pkg/index/suffixarray/suffixarray.go +++ b/src/pkg/index/suffixarray/suffixarray.go @@ -49,10 +49,10 @@ func New(data []byte) *Index { } -// Data returns the data over which the index was created. +// Bytes returns the data over which the index was created. // It must not be modified. // -func (x *Index) Data() []byte { +func (x *Index) Bytes() []byte { return x.data }