package CountAndFilterWords;
import com.continuuity.api.flow.flowlet.AbstractFlowlet;
import com.continuuity.api.flow.flowlet.OutputEmitter;
<BUG>import java.nio.charset.CharacterCodingException;</BUG>
import java.util.HashMap;
import java.util.Map;
public class Tokenizer extends AbstractFlowlet {
private OutputEmitter<Map<String,String>> output;
public Tokenizer() {
<BUG>super("Tokenizer");
}
public void process(Map<String, String> map) throws CharacterCodingException {
final String[] fields = { "title", "text" };</BUG>
if (Common.debug) {

package CountAndFilterWords;
import com.continuuity.api.flow.flowlet.AbstractFlowlet;
import com.continuuity.api.flow.flowlet.OutputEmitter;
import java.util.HashMap;
import java.util.Map;
public class Tokenizer extends AbstractFlowlet {
private OutputEmitter<Map<String,String>> output;
public Tokenizer() {
super("split-words");
}
public void process(Map<String, String> map) {
final String[] fields = { "title", "text" };
if (Common.debug) {
