Repository: kafka
Updated Branches:
  refs/heads/trunk d04b0998c -> d9206500b


MINOR: Fix reference to argument in `LogSegment.translateOffset`

Changed the lowerBound argument reference in the summary comment of the 
translateOffset method to match the actual argument name: startingFilePosition.

Author: Luke Zaparaniuk <luke.zaparan...@gmail.com>

Reviewers: Ismael Juma <ism...@juma.me.uk>

Closes #1876 from lukezaparaniuk/patch-1


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/d9206500
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/d9206500
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/d9206500

Branch: refs/heads/trunk
Commit: d9206500bf2f99ce93f6ad64c7a89483100b3b5f
Parents: d04b099
Author: Luke Zaparaniuk <luke.zaparan...@gmail.com>
Authored: Sun Sep 18 22:59:00 2016 +0100
Committer: Ismael Juma <ism...@juma.me.uk>
Committed: Sun Sep 18 22:59:00 2016 +0100

----------------------------------------------------------------------
 core/src/main/scala/kafka/log/LogSegment.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/d9206500/core/src/main/scala/kafka/log/LogSegment.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/log/LogSegment.scala 
b/core/src/main/scala/kafka/log/LogSegment.scala
index 0eb4330..3f76a84 100755
--- a/core/src/main/scala/kafka/log/LogSegment.scala
+++ b/core/src/main/scala/kafka/log/LogSegment.scala
@@ -113,7 +113,7 @@ class LogSegment(val log: FileMessageSet,
   /**
    * Find the physical file position for the first message with offset >= the 
requested offset.
    *
-   * The lowerBound argument is an optimization that can be used if we already 
know a valid starting position
+   * The startingFilePosition argument is an optimization that can be used if 
we already know a valid starting position
    * in the file higher than the greatest-lower-bound from the index.
    *
    * @param offset The offset we want to translate

Reply via email to