Skip to content

Commit

Permalink
fix remaining use of static copyWithChangedPrefix() method
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Höf <[email protected]>
  • Loading branch information
jonashoef committed Jul 19, 2022
1 parent 31d628e commit 0d311ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public final class OrderTestDataFactory {
int numOrderItems = values.intNumber(1, 5);
for (int i = 0; i < numOrderItems; i++) {
char prefix = (char) ('A' + i);
ValueProvider prefixedProvider = copyWithChangedPrefix(values, "" + prefix + "-");
ValueProvider prefixedProvider = values.copyWithChangedPrefix("" + prefix + "-");
builder.orderItem(createOrderItem(prefixedProvider));
}
}
Expand Down

0 comments on commit 0d311ba

Please sign in to comment.