Skip to content

Commit

Permalink
add deprecation notices (#11194)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelamo authored Sep 18, 2024
1 parent f35e1d8 commit 1f69cfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ public JsonMediaTypeCodec(ObjectMapper objectMapper,
* @param objectMapper To read/write JSON
* @param applicationConfiguration The common application configurations
* @param codecConfiguration The configuration for the codec
* @deprecated Use {@link #JsonMediaTypeCodec(BeanProvider, ApplicationConfiguration, CodecConfiguration, ApplicationConfiguration)} instead
*/
@Deprecated
public JsonMediaTypeCodec(BeanProvider<ObjectMapper> objectMapper,
ApplicationConfiguration applicationConfiguration,
@Named(CONFIGURATION_QUALIFIER) @Nullable CodecConfiguration codecConfiguration) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ public JsonStreamMediaTypeCodec(ObjectMapper objectMapper,
* @param objectMapper To read/write JSON
* @param applicationConfiguration The common application configurations
* @param codecConfiguration The configuration for the codec
* @deprecated Use {@link #JsonStreamMediaTypeCodec(BeanProvider, ApplicationConfiguration, CodecConfiguration, ApplicationConfiguration)} instead.
*/
@Deprecated
public JsonStreamMediaTypeCodec(BeanProvider<ObjectMapper> objectMapper,
ApplicationConfiguration applicationConfiguration,
@Named(CONFIGURATION_QUALIFIER) @Nullable CodecConfiguration codecConfiguration) {
Expand Down

0 comments on commit 1f69cfa

Please sign in to comment.