Skip to content

Commit

Permalink
fixed merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie committed Apr 26, 2012
2 parents 0456cde + 1c9e30a commit 91f42ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/jvm/backtype/cascading/tap/NullTap.java
Expand Up @@ -61,7 +61,7 @@ public NullTap() {

@Override public TupleEntryCollector openForWrite(FlowProcess flowProcess, Object o)
throws IOException {
return null;
throw new UnsupportedOperationException("Not supported yet.");
}

@Override public boolean createResource(Object o) throws IOException {
Expand Down
6 changes: 3 additions & 3 deletions src/jvm/backtype/cascading/tap/PailTap.java
Expand Up @@ -234,9 +234,9 @@ private void makeLocal(JobConf conf, Path qualifiedPath, String infoMessage) {

@Override
public void sinkConfInit(FlowProcess<JobConf> process, JobConf conf) {
if(_options.attrs!=null && _options.attrs.length > 0) {
if(_options.attrs!=null && _options.attrs.length > 0)
throw new TapException("can't declare attributes in a sink");
}

super.sinkConfInit(process, conf);
}

Expand Down Expand Up @@ -290,4 +290,4 @@ public boolean equals(Object object) {
private Path getQualifiedPath(JobConf conf) throws IOException {
return getPath().makeQualified(getFileSystem(conf));
}
}
}

0 comments on commit 91f42ef

Please sign in to comment.