Skip to content

Commit

Permalink
deprecation message wording
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Nov 25, 2023
1 parent 5081381 commit 785b99d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class JerseyBeanValidationModuleProvider implements BQModuleProvider {
public BuiltModule buildModule() {
return BuiltModule.of(new JerseyBeanValidationModule())
.provider(this)
.description("Deprecated and can be replaced with 'bootique-jersey-jakarta-beanvalidation'.")
.description("Deprecated, can be replaced with 'bootique-jersey-jakarta-beanvalidation'.")
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class JerseyClientInstrumentedModuleProvider implements BQModuleProvider
public BuiltModule buildModule() {
return BuiltModule.of(new JerseyClientInstrumentedModule())
.provider(this)
.description("Deprecated and can be replaced with 'bootique-jersey-jakarta-client-instrumented'.")
.description("Deprecated, can be replaced with 'bootique-jersey-jakarta-client-instrumented'.")
.overrides(JerseyClientModule.class)
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class JerseyClientModuleProvider implements BQModuleProvider {
public BuiltModule buildModule() {
return BuiltModule.of(new JerseyClientModule())
.provider(this)
.description("Deprecated and can be replaced with 'bootique-jersey-jakarta-client'.")
.description("Deprecated, can be replaced with 'bootique-jersey-jakarta-client'.")
.config("jerseyclient", HttpClientFactoryFactory.class)
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void metadata() {
assertTrue(jerseyClientOpt.isPresent());
ModuleMetadata jerseyClient = jerseyClientOpt.get();

assertEquals("Deprecated and can be replaced with 'bootique-jersey-jakarta-client'.", jerseyClient.getDescription());
assertEquals("Deprecated, can be replaced with 'bootique-jersey-jakarta-client'.", jerseyClient.getDescription());

assertEquals(1, jerseyClient.getConfigs().size());
ConfigMetadataNode rootConfig = jerseyClient.getConfigs().stream().findFirst().get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static JerseyJacksonModuleExtender extend(Binder binder) {
public BuiltModule buildModule() {
return BuiltModule.of(this)
.provider(this)
.description("Deprecated and can be replaced with 'bootique-jersey-jakarta-jackson'.")
.description("Deprecated, can be replaced with 'bootique-jersey-jakarta-jackson'.")
.config(configPrefix, JerseyJacksonFactory.class)
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class JerseyModuleProvider implements BQModuleProvider {
public BuiltModule buildModule() {
return BuiltModule.of(new JerseyModule())
.provider(this)
.description("Deprecated and can be replaced with 'bootique-jersey-jakarta'.")
.description("Deprecated, can be replaced with 'bootique-jersey-jakarta'.")
.config("jersey", JerseyServletFactory.class)
.build();
}
Expand Down

0 comments on commit 785b99d

Please sign in to comment.