Skip to content

Commit

Permalink
fix typo (#11179)
Browse files Browse the repository at this point in the history
  • Loading branch information
PiyalAhmed authored Sep 12, 2024
1 parent 000698b commit cee5baa
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

/**
* <p>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 &#064;RequestAttributes to list attributes on a client class that will always be applied
* This can also be used in conjunction with &#064;RequestAttributes to list attributes on a client class that will always be applied
* <i>Note: Request attributes are intended for internal data sharing only, and are not attached to the outbound request.</i></p>
*
* <p>The following example demonstrates usage at the type level to declare default values to pass in the request when using the {@code Client} annotation;</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion http/src/main/java/io/micronaut/http/uri/UriTemplate.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<UserInlineValueClass> = assertDoesNotThrow { BeanIntrospection.getIntrospection(UserInlineValueClass::class.java) }
val user: UserInlineValueClass = introspection.instantiate("John")
assertEquals("John", user.name)
}
}
}

0 comments on commit cee5baa

Please sign in to comment.