Skip to content

Commit

Permalink
Revert "Fix #258: add ElementType.PARAMETER for @JsonIgnore" due to…
Browse files Browse the repository at this point in the history
… issues with Kotlin module (#260)
  • Loading branch information
cowtowncoder authored Jul 22, 2024
1 parent a3e0c8c commit d134580
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ NOTE: Annotations module will never contain changes in patch versions,

2.18.0 (not yet released)

#258: Add `ElementType.PARAMETER` to `@JsonIgnore` to allow use for Constructor
parameters
No changes since 2.17

2.17.0 (12-Mar-2024)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@
* defining one with 'false' argument: either in a subclass, or by
* using "mix-in annotations".
*/
@Target({ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.FIELD,
ElementType.METHOD,
// note: added in 2.18 (as per [annotations#258])
ElementType.PARAMETER})
@Target({ElementType.ANNOTATION_TYPE,
ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotation
public @interface JsonIgnore
Expand Down

0 comments on commit d134580

Please sign in to comment.