Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mgemra committed Feb 25, 2025
1 parent 4027d8f commit 6dbe6dc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -565,22 +565,22 @@ enum ContentOutputStrategy implements DescribedValue {
"Ignores the result and passes the incoming FlowFile content to the next processor."
);

private final String value;
private final String displayName;
private final String description;

ContentOutputStrategy(final String value, final String description) {
this.value = value;
ContentOutputStrategy(final String displayName, final String description) {
this.displayName = displayName;
this.description = description;
}

@Override
public String getValue() {
return this.value;
return name();
}

@Override
public String getDisplayName() {
return this.value;
return this.displayName;
}

@Override
Expand Down

0 comments on commit 6dbe6dc

Please sign in to comment.