diff --git a/http-tck/src/main/java/io/micronaut/http/tck/TestScenario.java b/http-tck/src/main/java/io/micronaut/http/tck/TestScenario.java index 5540eae6fa7..efb26491054 100644 --- a/http-tck/src/main/java/io/micronaut/http/tck/TestScenario.java +++ b/http-tck/src/main/java/io/micronaut/http/tck/TestScenario.java @@ -146,7 +146,7 @@ public Builder specName(String specName) { /** * * @param request HTTP Request to be sent in the test scenario - * @return The Test Scneario Builder + * @return The Test Scenario Builder */ public Builder request(HttpRequest request) { this.request = server -> request; diff --git a/http/src/main/java/io/micronaut/http/annotation/RequestAttribute.java b/http/src/main/java/io/micronaut/http/annotation/RequestAttribute.java index 273f047a885..97746360a19 100644 --- a/http/src/main/java/io/micronaut/http/annotation/RequestAttribute.java +++ b/http/src/main/java/io/micronaut/http/annotation/RequestAttribute.java @@ -28,7 +28,7 @@ /** *

An annotation that can be applied to method arguments to indicate that the method argument is bound to an HTTP request attribute - * This can also be used in conjuction with @RequestAttributes to list attributes on a client class that will always be applied + * This can also be used in conjunction with @RequestAttributes to list attributes on a client class that will always be applied * Note: Request attributes are intended for internal data sharing only, and are not attached to the outbound request.

* *

The following example demonstrates usage at the type level to declare default values to pass in the request when using the {@code Client} annotation;

diff --git a/http/src/main/java/io/micronaut/http/annotation/RouteCondition.java b/http/src/main/java/io/micronaut/http/annotation/RouteCondition.java index 205afd0a89c..8949eae6aaa 100644 --- a/http/src/main/java/io/micronaut/http/annotation/RouteCondition.java +++ b/http/src/main/java/io/micronaut/http/annotation/RouteCondition.java @@ -43,7 +43,7 @@ @Experimental public @interface RouteCondition { /** - * An expression that evalutes to {@code true} or {@code false}. + * An expression that evaluates to {@code true} or {@code false}. * @return The expression * @since 4.0.0 */ diff --git a/http/src/main/java/io/micronaut/http/uri/UriTemplate.java b/http/src/main/java/io/micronaut/http/uri/UriTemplate.java index 172d91972cf..7082171a888 100644 --- a/http/src/main/java/io/micronaut/http/uri/UriTemplate.java +++ b/http/src/main/java/io/micronaut/http/uri/UriTemplate.java @@ -421,7 +421,7 @@ protected String normalizeNested(String uri, CharSequence nested) { /** * @param uriTemplate The URI template - * @param len The lenght + * @param len The length * @param parserArguments The parsed arguments * @return A list of path segments */ diff --git a/inject/src/test/groovy/io/micronaut/context/i18n/StaticMessageSourceSpec.groovy b/inject/src/test/groovy/io/micronaut/context/i18n/StaticMessageSourceSpec.groovy index 5a5f65f67c4..3dd118abdc6 100644 --- a/inject/src/test/groovy/io/micronaut/context/i18n/StaticMessageSourceSpec.groovy +++ b/inject/src/test/groovy/io/micronaut/context/i18n/StaticMessageSourceSpec.groovy @@ -19,7 +19,7 @@ class StaticMessageSourceSpec extends Specification { ms.getMessage("foo.bar", MessageSource.MessageContext.of(Locale.FRENCH)).get() == 'wi' } - void "test messge interpolate"() { + void "test message interpolate"() { given: def ms = new StaticMessageSource() ms.addMessage("foo.bar", "test") diff --git a/test-suite-kotlin-ksp/src/test/kotlin/io/micronaut/docs/core/beans/UserInlineValueClassTest.kt b/test-suite-kotlin-ksp/src/test/kotlin/io/micronaut/docs/core/beans/UserInlineValueClassTest.kt index 88f359c016e..13f78c14f40 100644 --- a/test-suite-kotlin-ksp/src/test/kotlin/io/micronaut/docs/core/beans/UserInlineValueClassTest.kt +++ b/test-suite-kotlin-ksp/src/test/kotlin/io/micronaut/docs/core/beans/UserInlineValueClassTest.kt @@ -8,11 +8,11 @@ import org.junit.jupiter.api.assertDoesNotThrow class UserInlineValueClassTest { - @Disabled("Kotline inline value classes not yet supported via Bean Introspection") + @Disabled("Kotlin inline value classes not yet supported via Bean Introspection") @Test fun anInlineValueClassNotYetSupportedViaBeanIntrospection() { val introspection: BeanIntrospection = assertDoesNotThrow { BeanIntrospection.getIntrospection(UserInlineValueClass::class.java) } val user: UserInlineValueClass = introspection.instantiate("John") assertEquals("John", user.name) } -} \ No newline at end of file +}