Updated Branches: refs/heads/master c52a8e850 -> 809a6d701
CRUNCH-324 Fix spelling of "Sample.reservorSample" Project: http://git-wip-us.apache.org/repos/asf/crunch/repo Commit: http://git-wip-us.apache.org/repos/asf/crunch/commit/809a6d70 Tree: http://git-wip-us.apache.org/repos/asf/crunch/tree/809a6d70 Diff: http://git-wip-us.apache.org/repos/asf/crunch/diff/809a6d70 Branch: refs/heads/master Commit: 809a6d70128ffac05b77a854350cc8621777363f Parents: c52a8e8 Author: Gabriel Reid <[email protected]> Authored: Sun Jan 19 21:38:19 2014 +0100 Committer: Gabriel Reid <[email protected]> Committed: Tue Jan 21 17:27:48 2014 +0100 ---------------------------------------------------------------------- crunch-core/src/main/java/org/apache/crunch/lib/Sample.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/crunch/blob/809a6d70/crunch-core/src/main/java/org/apache/crunch/lib/Sample.java ---------------------------------------------------------------------- diff --git a/crunch-core/src/main/java/org/apache/crunch/lib/Sample.java b/crunch-core/src/main/java/org/apache/crunch/lib/Sample.java index 5266545..8b4ad8f 100644 --- a/crunch-core/src/main/java/org/apache/crunch/lib/Sample.java +++ b/crunch-core/src/main/java/org/apache/crunch/lib/Sample.java @@ -99,7 +99,7 @@ public class Sample { public static <T> PCollection<T> reservoirSample( PCollection<T> input, int sampleSize) { - return reservorSample(input, sampleSize, null); + return reservoirSample(input, sampleSize, null); } /** @@ -112,7 +112,7 @@ public class Sample { * @return A {@code PCollection} made up of the sampled elements */ - public static <T> PCollection<T> reservorSample( + public static <T> PCollection<T> reservoirSample( PCollection<T> input, int sampleSize, Long seed) {
