Skip to content

Commit

Permalink
Add note about reason for doing this (CR feedback from Andrew Or)
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Feb 3, 2016
1 parent e2d518b commit 1076946
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class InputMetrics private (

// Once incBytesRead & intRecordsRead is ready to be removed from the public API
// we can remove the internal versions and make the previous public API private.
// This has been done to suppress warnings when building.
@deprecated("incrementing input metrics is for internal use only", "2.0.0")
def incBytesRead(v: Long): Unit = _bytesRead.add(v)
private[spark] def incBytesReadInternal(v: Long): Unit = _bytesRead.add(v)
Expand Down

0 comments on commit 1076946

Please sign in to comment.