diff --git a/bootique-jersey-beanvalidation/src/main/java/io/bootique/jersey/beanvalidation/JerseyBeanValidationModuleProvider.java b/bootique-jersey-beanvalidation/src/main/java/io/bootique/jersey/beanvalidation/JerseyBeanValidationModuleProvider.java index 2027622..749bee9 100644 --- a/bootique-jersey-beanvalidation/src/main/java/io/bootique/jersey/beanvalidation/JerseyBeanValidationModuleProvider.java +++ b/bootique-jersey-beanvalidation/src/main/java/io/bootique/jersey/beanvalidation/JerseyBeanValidationModuleProvider.java @@ -32,7 +32,7 @@ public class JerseyBeanValidationModuleProvider implements BQModuleProvider { public BuiltModule buildModule() { return BuiltModule.of(new JerseyBeanValidationModule()) .provider(this) - .description("Deprecated and should be replaced with 'bootique-jersey-jakarta-beanvalidation'.") + .description("Deprecated and can be replaced with 'bootique-jersey-jakarta-beanvalidation'.") .build(); } } diff --git a/bootique-jersey-client-instrumented/src/main/java/io/bootique/jersey/client/instrumented/JerseyClientInstrumentedModuleProvider.java b/bootique-jersey-client-instrumented/src/main/java/io/bootique/jersey/client/instrumented/JerseyClientInstrumentedModuleProvider.java index 3a49bd0..0519bb2 100644 --- a/bootique-jersey-client-instrumented/src/main/java/io/bootique/jersey/client/instrumented/JerseyClientInstrumentedModuleProvider.java +++ b/bootique-jersey-client-instrumented/src/main/java/io/bootique/jersey/client/instrumented/JerseyClientInstrumentedModuleProvider.java @@ -40,7 +40,7 @@ public class JerseyClientInstrumentedModuleProvider implements BQModuleProvider public BuiltModule buildModule() { return BuiltModule.of(new JerseyClientInstrumentedModule()) .provider(this) - .description("Deprecated and should be replaced with 'bootique-jersey-jakarta-client-instrumented'.") + .description("Deprecated and can be replaced with 'bootique-jersey-jakarta-client-instrumented'.") .overrides(JerseyClientModule.class) .build(); } diff --git a/bootique-jersey-client/src/main/java/io/bootique/jersey/client/JerseyClientModuleProvider.java b/bootique-jersey-client/src/main/java/io/bootique/jersey/client/JerseyClientModuleProvider.java index 21f6d26..4622b59 100644 --- a/bootique-jersey-client/src/main/java/io/bootique/jersey/client/JerseyClientModuleProvider.java +++ b/bootique-jersey-client/src/main/java/io/bootique/jersey/client/JerseyClientModuleProvider.java @@ -32,7 +32,7 @@ public class JerseyClientModuleProvider implements BQModuleProvider { public BuiltModule buildModule() { return BuiltModule.of(new JerseyClientModule()) .provider(this) - .description("Deprecated and should be replaced with 'bootique-jersey-jakarta-client'.") + .description("Deprecated and can be replaced with 'bootique-jersey-jakarta-client'.") .config("jerseyclient", HttpClientFactoryFactory.class) .build(); } diff --git a/bootique-jersey-client/src/test/java/io/bootique/jersey/client/JerseyClientModuleProvider_MetadataIT.java b/bootique-jersey-client/src/test/java/io/bootique/jersey/client/JerseyClientModuleProvider_MetadataIT.java index a8cd568..b9684ce 100644 --- a/bootique-jersey-client/src/test/java/io/bootique/jersey/client/JerseyClientModuleProvider_MetadataIT.java +++ b/bootique-jersey-client/src/test/java/io/bootique/jersey/client/JerseyClientModuleProvider_MetadataIT.java @@ -52,7 +52,7 @@ public void metadata() { assertTrue(jerseyClientOpt.isPresent()); ModuleMetadata jerseyClient = jerseyClientOpt.get(); - assertEquals("Deprecated and should be replaced with 'bootique-jersey-jakarta-client'.", jerseyClient.getDescription()); + assertEquals("Deprecated and can be replaced with 'bootique-jersey-jakarta-client'.", jerseyClient.getDescription()); assertEquals(1, jerseyClient.getConfigs().size()); ConfigMetadataNode rootConfig = jerseyClient.getConfigs().stream().findFirst().get(); diff --git a/bootique-jersey-jackson/src/main/java/io/bootique/jersey/jackson/JerseyJacksonModule.java b/bootique-jersey-jackson/src/main/java/io/bootique/jersey/jackson/JerseyJacksonModule.java index 7806b70..184a9e2 100644 --- a/bootique-jersey-jackson/src/main/java/io/bootique/jersey/jackson/JerseyJacksonModule.java +++ b/bootique-jersey-jackson/src/main/java/io/bootique/jersey/jackson/JerseyJacksonModule.java @@ -45,7 +45,7 @@ public static JerseyJacksonModuleExtender extend(Binder binder) { public BuiltModule buildModule() { return BuiltModule.of(this) .provider(this) - .description("Deprecated and should be replaced with 'bootique-jersey-jakarta-jackson'.") + .description("Deprecated and can be replaced with 'bootique-jersey-jakarta-jackson'.") .config(configPrefix, JerseyJacksonFactory.class) .build(); } diff --git a/bootique-jersey/src/main/java/io/bootique/jersey/JerseyModuleProvider.java b/bootique-jersey/src/main/java/io/bootique/jersey/JerseyModuleProvider.java index 052fc65..91e5048 100644 --- a/bootique-jersey/src/main/java/io/bootique/jersey/JerseyModuleProvider.java +++ b/bootique-jersey/src/main/java/io/bootique/jersey/JerseyModuleProvider.java @@ -37,7 +37,7 @@ public class JerseyModuleProvider implements BQModuleProvider { public BuiltModule buildModule() { return BuiltModule.of(new JerseyModule()) .provider(this) - .description("Deprecated and should be replaced with 'bootique-jersey-jakarta'.") + .description("Deprecated and can be replaced with 'bootique-jersey-jakarta'.") .config("jersey", JerseyServletFactory.class) .build(); }