crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject svn commit: r1559822 - /crunch/site/trunk/content/user-guide.mdtext
Date Mon, 20 Jan 2014 20:09:57 GMT
Author: jwills
Date: Mon Jan 20 20:09:56 2014
New Revision: 1559822

URL: http://svn.apache.org/r1559822
Log:
Fix classname typo

Modified:
    crunch/site/trunk/content/user-guide.mdtext

Modified: crunch/site/trunk/content/user-guide.mdtext
URL: http://svn.apache.org/viewvc/crunch/site/trunk/content/user-guide.mdtext?rev=1559822&r1=1559821&r2=1559822&view=diff
==============================================================================
--- crunch/site/trunk/content/user-guide.mdtext (original)
+++ crunch/site/trunk/content/user-guide.mdtext Mon Jan 20 20:09:56 2014
@@ -1547,7 +1547,7 @@ those Counters between test runs by call
 	@Test
 	public void testToUpperCase_WithPipeline() {
 	  PCollection<String> inputStrings = MemPipeline.collectionOf("a", "B", "c");
-	  PCollection<String> upperCaseStrings = inputStrings.parallelDo(new ToUpperCaseFn(),
Writables.strings());
+	  PCollection<String> upperCaseStrings = inputStrings.parallelDo(new UpperCaseWithCounterFn(),
Writables.strings());
 	  assertEquals(ImmutableList.of("A", "B", "C"), Lists.newArrayList(upperCaseStrings.materialize()));
 	  assertEquals(2L, MemPipeline.getCounters().findCounter("UpperCase", "modified").getValue());
 	}



Mime
View raw message