Skip to content

Commit ee3cb31

Browse files
committed
correct spelling error in Javadoc.
1 parent 5a58929 commit ee3cb31

File tree

1 file changed

+4
-4
lines changed
  • hamcrest-core/src/main/java/org/hamcrest/core

1 file changed

+4
-4
lines changed

hamcrest-core/src/main/java/org/hamcrest/core/Is.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import static org.hamcrest.core.IsInstanceOf.instanceOf;
1010

1111
/**
12-
* Decorates another Matcher, retaining the behavior but allowing tests
12+
* Decorates another Matcher, retaining the behaviour but allowing tests
1313
* to be slightly more expressive.
1414
*
1515
* For example: assertThat(cheese, equalTo(smelly))
@@ -38,7 +38,7 @@ public void describeMismatch(Object item, Description mismatchDescription) {
3838
}
3939

4040
/**
41-
* Decorates another Matcher, retaining the behavior but allowing tests
41+
* Decorates another Matcher, retaining its behaviour, but allowing tests
4242
* to be slightly more expressive.
4343
*
4444
* For example: assertThat(cheese, equalTo(smelly))
@@ -50,7 +50,7 @@ public static <T> Matcher<T> is(Matcher<T> matcher) {
5050
}
5151

5252
/**
53-
* This is a shortcut to the frequently used is(equalTo(x)).
53+
* A shortcut to the frequently used is(equalTo(x)).
5454
*
5555
* For example: assertThat(cheese, is(equalTo(smelly)))
5656
* vs. assertThat(cheese, is(smelly))
@@ -61,7 +61,7 @@ public static <T> Matcher<T> is(T value) {
6161
}
6262

6363
/**
64-
* This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
64+
* A shortcut to the frequently used is(instanceOf(SomeClass.class)).
6565
*
6666
* For example: assertThat(cheese, is(instanceOf(Cheddar.class)))
6767
* vs. assertThat(cheese, is(Cheddar.class))

0 commit comments

Comments
 (0)