Skip to content

Commit d5d126e

Browse files
committed
chore: fix typos across multiple modules and rename ReponseInfoTest
Corrected spelling errors in Javadocs, logs, and comments across OIDC, Kubernetes, and Qute extensions. Renamed ReponseInfoTest to ResponseInfoTest to fix class name typo. Signed-off-by: Quark <[email protected]>
1 parent 2575a02 commit d5d126e

File tree

25 files changed

+49
-43
lines changed

25 files changed

+49
-43
lines changed

core/deployment/src/main/java/io/quarkus/deployment/console/StartupLogCompressor.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,19 @@ public void close() {
6969
return;
7070
}
7171
QuarkusConsole.removeOutputFilter(this);
72-
sl.close();
72+
if (sl != null) {
73+
sl.close();
74+
}
7375
}
7476

7577
public void closeAndDumpCaptured() {
7678
if (thread == null) {
7779
return;
7880
}
7981
QuarkusConsole.removeOutputFilter(this);
80-
sl.close();
82+
if (sl != null) {
83+
sl.close();
84+
}
8185
for (var i : toDump) {
8286
QuarkusConsole.INSTANCE.write(true, i);
8387
}
@@ -92,7 +96,9 @@ public boolean test(String s, Boolean errorStream) {
9296
Thread current = Thread.currentThread();
9397
if (current == this.thread || additionalThreadPredicate.test(current)) {
9498
toDump.add(s);
95-
sl.setMessage(MessageFormat.BLUE + name + MessageFormat.RESET + " " + s.replace("\n", ""));
99+
if (sl != null) {
100+
sl.setMessage(MessageFormat.BLUE + name + MessageFormat.RESET + " " + s.replace("\n", ""));
101+
}
96102
return false;
97103
}
98104
return true;

extensions/jfr/runtime/src/main/java/io/quarkus/jfr/runtime/http/rest/reactive/ReactiveServerFilters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void requestFilter(SimpleResourceInfo resourceInfo) {
3434

3535
/**
3636
* This will execute regardless of a processing failure or not.
37-
* If there was a failure, we need to check if the start event was not commited
37+
* If there was a failure, we need to check if the start event was not committed
3838
* (which happens when request was not matched to any resource method) and if so, commit it.
3939
*/
4040
@ServerResponseFilter

extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/ApplyOpenshiftRouteConfigurator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public ApplyOpenshiftRouteConfigurator(RouteConfig routeConfig) {
1414

1515
@Override
1616
public void visit(OpenshiftConfigFluent config) {
17-
// The route needs to be configured wether it's exposed or not.
17+
// The route needs to be configured whether it's exposed or not.
1818
// This is needed to support user provided routes.
1919
var routeBuilder = config.editOrNewRoute();
2020
routeBuilder.withExpose(routeConfig.expose());

extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesDeployer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ private DeploymentResultBuildItem deploy(DeploymentTargetEntry deploymentTarget,
208208
Optional<GenericKubernetesResource> conflictingResource = findConflictingResource(client, deploymentTarget,
209209
list.getItems());
210210
if (conflictingResource.isPresent()) {
211-
String messsage = "Skipping deployment of " + deploymentTarget.getDeploymentResourceKind() + " "
211+
String message = "Skipping deployment of " + deploymentTarget.getDeploymentResourceKind() + " "
212212
+ conflictingResource.get().getMetadata().getName() + " because a "
213213
+ conflictingResource.get().getKind() + " with the same name exists.";
214-
log.warn(messsage);
214+
log.warn(message);
215215
log.warn("This may occur when switching deployment targets, or when the default deployment target is changed.");
216216
log.warn("Please remove conflicting resource and try again.");
217-
throw new IllegalStateException(messsage);
217+
throw new IllegalStateException(message);
218218
}
219219

220220
list.getItems().stream().filter(distinctByResourceKey()).forEach(i -> {

extensions/observability-devservices/testcontainers/src/main/resources/grafana-dashboard-quarkus-micrometer-opentelemetry.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2328,7 +2328,7 @@
23282328
"hide": false,
23292329
"interval": "",
23302330
"intervalFactor": 2,
2331-
"legendFormat": "commited",
2331+
"legendFormat": "committed",
23322332
"metric": "",
23332333
"refId": "B",
23342334
"step": 1800
@@ -2477,7 +2477,7 @@
24772477
"hide": false,
24782478
"interval": "",
24792479
"intervalFactor": 2,
2480-
"legendFormat": "commited",
2480+
"legendFormat": "committed",
24812481
"metric": "",
24822482
"refId": "B",
24832483
"step": 1800

extensions/observability-devservices/testcontainers/src/main/resources/grafana-dashboard-quarkus-micrometer-otlp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@
22342234
"hide": false,
22352235
"interval": "",
22362236
"intervalFactor": 2,
2237-
"legendFormat": "commited",
2237+
"legendFormat": "committed",
22382238
"metric": "",
22392239
"refId": "B",
22402240
"step": 1800
@@ -2372,7 +2372,7 @@
23722372
"hide": false,
23732373
"interval": "",
23742374
"intervalFactor": 2,
2375-
"legendFormat": "commited",
2375+
"legendFormat": "committed",
23762376
"metric": "",
23772377
"refId": "B",
23782378
"step": 1800

extensions/observability-devservices/testcontainers/src/main/resources/grafana-dashboard-quarkus-micrometer-prometheus.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2845,7 +2845,7 @@
28452845
"hide": false,
28462846
"interval": "",
28472847
"intervalFactor": 2,
2848-
"legendFormat": "commited",
2848+
"legendFormat": "committed",
28492849
"metric": "",
28502850
"refId": "B",
28512851
"step": 1800
@@ -3007,7 +3007,7 @@
30073007
"hide": false,
30083008
"interval": "",
30093009
"intervalFactor": 2,
3010-
"legendFormat": "commited",
3010+
"legendFormat": "committed",
30113011
"metric": "",
30123012
"refId": "B",
30133013
"step": 1800

extensions/oidc-client-registration/runtime/src/main/java/io/quarkus/oidc/client/registration/runtime/OidcClientRegistrationImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ static private RegisteredClient newRegisteredClient(HttpResponse<Buffer> resp,
198198
OidcEndpoint.Type.CLIENT_REGISTRATION);
199199
if (resp.statusCode() == 200 || resp.statusCode() == 201) {
200200
JsonObject json = buffer.toJsonObject();
201-
LOG.debugf("Client has been succesfully registered: %s", json.toString());
201+
LOG.debugf("Client has been successfully registered: %s", json.toString());
202202

203203
String registrationClientUri = (String) json.remove(OidcConstants.REGISTRATION_CLIENT_URI);
204204
String registrationToken = (String) json.remove(OidcConstants.REGISTRATION_ACCESS_TOKEN);

extensions/oidc-client-registration/runtime/src/main/java/io/quarkus/oidc/client/registration/runtime/RegisteredClientImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private RegisteredClient newRegisteredClient(HttpResponse<Buffer> resp, OidcRequ
191191
OidcEndpoint.Type.REGISTERED_CLIENT);
192192
if (resp.statusCode() >= 200 && resp.statusCode() < 300) {
193193
io.vertx.core.json.JsonObject json = buffer.toJsonObject();
194-
LOG.debugf("Client metadata has been succesfully updated: %s", json.toString());
194+
LOG.debugf("Client metadata has been successfully updated: %s", json.toString());
195195

196196
String newRegistrationClientUri = (String) json.remove(OidcConstants.REGISTRATION_CLIENT_URI);
197197
String newRegistrationToken = (String) json.remove(OidcConstants.REGISTRATION_ACCESS_TOKEN);
@@ -212,7 +212,7 @@ private Uni<Void> deleteResponse(HttpResponse<Buffer> resp, OidcRequestContextPr
212212
Buffer buffer = OidcCommonUtils.filterHttpResponse(requestProps, resp, responseFilters,
213213
OidcEndpoint.Type.REGISTERED_CLIENT);
214214
if (resp.statusCode() == 200) {
215-
LOG.debug("Client has been succesfully deleted");
215+
LOG.debug("Client has been successfully deleted");
216216
return Uni.createFrom().voidItem();
217217
} else {
218218
String errorMessage = buffer.toString();

extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/MessageBundleProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ List<MessageBundleBuildItem> processBundles(BeanArchiveIndexBuildItem beanArchiv
154154
name = MessageBundle.DEFAULT_NAME;
155155
} else {
156156
// The name starts with the DEFAULT_NAME followed by an underscore, followed by simple names of all
157-
// declaring classes in the hierarchy seperated by underscores
157+
// declaring classes in the hierarchy separated by underscores
158158
List<String> names = new ArrayList<>();
159159
names.add(DotNames.simpleName(bundleClass));
160160
DotName enclosingName = bundleClass.enclosingClass();

0 commit comments

Comments
 (0)