Skip to content

Commit 914023e

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 914023e

File tree

24 files changed

+40
-40
lines changed

24 files changed

+40
-40
lines changed

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();

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ private String getCheckedTemplateName(AnnotationTarget target, AnnotationInstanc
556556
}
557557
String name = getTargetName(target);
558558
if (checkedFragment) {
559-
// the name is the part before the last occurence of a dollar sign
559+
// the name is the part before the last occurrence of a dollar sign
560560
name = name.substring(0, name.lastIndexOf('$'));
561561
}
562562
return defaultedName(defaultName, name);
@@ -570,7 +570,7 @@ private String getCheckedFragmentId(AnnotationTarget target, AnnotationInstance
570570
return null;
571571
}
572572
String name = getTargetName(target);
573-
// the id is the part after the last occurence of a dollar sign
573+
// the id is the part after the last occurrence of a dollar sign
574574
int idx = name.lastIndexOf('$');
575575
if (idx == -1 || idx == name.length()) {
576576
return null;
@@ -2142,7 +2142,7 @@ public Function<FieldInfo, String> apply(ClassInfo clazz) {
21422142
// with priorities of application globals that are regenerated during each hot reload
21432143
// Therefore, the initial priority is increased by the number of all globals ever found
21442144
// For example, if there are three globals [A, B, C] (A and C are non-application classes)
2145-
// The intial priority during the first hot reload will be "-1000 + 3 = 997"
2145+
// The initial priority during the first hot reload will be "-1000 + 3 = 997"
21462146
// If a global D is added afterwards, the initial priority during the subsequent hot reload will be "-1000 + 4 = 996"
21472147
// If the global D is removed, the initial priority will still remain "-1000 + 4 = 996"
21482148
// This way we can be sure that the priorities assigned to A and C will never conflict with priorities of B and D or any other application global class

0 commit comments

Comments
 (0)