Skip to content

Commit

Permalink
Merge pull request apache#13 from bsidhom/cowboy
Browse files Browse the repository at this point in the history
Reverse a bad if statement
  • Loading branch information
axelmagn authored Mar 13, 2018
2 parents 6bbd8a3 + a937969 commit 2935eed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ public void accept(WindowedValue<OutputT> input) throws Exception {
Map<BeamFnApi.Target,
SdkHarnessClient.RemoteOutputReceiver<?>> receiverMap;
if (outputTarget == null) {
receiverMap = ImmutableMap.of(outputTarget, mainOutputReceiver);
} else {
receiverMap = ImmutableMap.of();
} else {
receiverMap = ImmutableMap.of(outputTarget, mainOutputReceiver);
}

SdkHarnessClient.ActiveBundle<InputT> bundle = processor.newBundle(receiverMap);
Expand Down

0 comments on commit 2935eed

Please sign in to comment.