Skip to content

Commit

Permalink
Add @SInCE to BuilderStyle.FUNCTIONAL
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 committed Sep 22, 2024
1 parent e28ea34 commit 5566380
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ User user = UserBuilder.user(
);
User copy = UserBuilder.copy(user,
lastName("Johnson"), // a single required property is allowed here
displayName("Johnny D") // optional properties are also allowed here
displayName("Johnny J") // optional properties are also allowed here
);
```

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/jilt/BuilderStyle.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ public enum BuilderStyle {
* middleName("Muriel") // this is optional
* );
* </code></pre>
*
* @since 1.6
*/
FUNCTIONAL
}

0 comments on commit 5566380

Please sign in to comment.