Skip to content

Commit bea82e1

Browse files
committed
Merge pull request hamcrest#15 from andrewgaul/spelling
Correct typos
2 parents 819159c + 30ca25b commit bea82e1

17 files changed

Lines changed: 23 additions & 23 deletions

File tree

‎hamcrest-core/src/main/java/org/hamcrest/Description.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public interface Description {
2323
Description appendDescriptionOf(SelfDescribing value);
2424

2525
/**
26-
* Appends an arbitary value to the description.
26+
* Appends an arbitrary value to the description.
2727
*/
2828
Description appendValue(Object value);
2929

‎hamcrest-core/src/main/java/org/hamcrest/core/SubstringMatcher.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
public abstract class SubstringMatcher extends TypeSafeMatcher<String> {
77

8-
// TODO: Replace String with CharSequence to allow for easy interopability between
8+
// TODO: Replace String with CharSequence to allow for easy interoperability between
99
// String, StringBuffer, StringBuilder, CharBuffer, etc (joe).
1010

1111
protected final String substring;

‎hamcrest-core/src/main/java/org/hamcrest/internal/ReflectiveTypeFinder.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* finder will return <code>String.class</code>.
1313
*
1414
* A <code>FeatureMatcher</code> is an abstract subclass of <code>TypeSafeDiagnosingMatcher</code>.
15-
* Although it has a templated implementation of <code>matchesSafely(&lt;T&gt;, Decription);</code>, the
16-
* actualy run-time signature of this is <code>matchesSafely(Object, Description);</code>. Instead,
15+
* Although it has a templated implementation of <code>matchesSafely(&lt;T&gt;, Description);</code>, the
16+
* actually run-time signature of this is <code>matchesSafely(Object, Description);</code>. Instead,
1717
* we must find the type by reflecting on the concrete implementation of
1818
* <pre>protected abstract U featureValueOf(T actual);</pre>
1919
* a method which is declared in <code>FeatureMatcher</code>.

‎hamcrest-examples/src/main/java/org/hamcrest/examples/junit3/ExampleWithEasyMock2.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public void testUsingAHamcrestMatcher() {
6969
* with both jMock Constraints and Hamcrest Matchers.
7070
*/
7171
public void testUsingAssertThat() {
72-
// TODO(joe): This is a bit tricker with EasyMock.
72+
// TODO(joe): This is a bit trickier with EasyMock.
7373
//assertThat("xx", equal("xx"));
7474
//assertThat("yy", not(equal("xx")));
7575
//assertThat("i like cheese", startsWith("i like"));

‎hamcrest-examples/src/main/java/org/hamcrest/examples/junit4/ExampleWithEasyMock2.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void usingAHamcrestMatcher() {
7373
*/
7474
@Test
7575
public void usingAssertThat() {
76-
// TODO(joe): This is a bit tricker with EasyMock.
76+
// TODO(joe): This is a bit trickier with EasyMock.
7777
//assertThat("xx", isTwoXs());
7878
//assertThat("yy", not(isTwoXs()));
7979
//assertThat("i like cheese", startsWith("i like"));

‎hamcrest-examples/src/main/java/org/hamcrest/examples/testng/ExampleWithEasyMock2.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void usingAHamcrestMatcher() {
8080
*/
8181
@Test
8282
public void usingAssertThat() {
83-
// TODO(joe): This is a bit tricker with EasyMock.
83+
// TODO(joe): This is a bit trickier with EasyMock.
8484
//assertThat("xx", isTwoXs());
8585
//assertThat("yy", not(isTwoXs()));
8686
//assertThat("i like cheese", startsWith("i like"));

‎hamcrest-generator/src/main/java/org/hamcrest/generator/SugarGenerator.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void addFactoryMethod(FactoryMethod method) {
6868
}
6969

7070
/**
71-
* Convient way to add multiple FactoryMethods.
71+
* Convenient way to add multiple FactoryMethods.
7272
*
7373
* @see #addFactoryMethod(FactoryMethod)
7474
*/

‎hamcrest-library/src/main/java/org/hamcrest/collection/IsArrayContainingInOrder.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void describeTo(Description description) {
3737
}
3838

3939
/**
40-
* Creates a matcher for arrays that matcheswhen each item in the examined array is
40+
* Creates a matcher for arrays that matches when each item in the examined array is
4141
* logically equal to the corresponding item in the specified items. For a positive match,
4242
* the examined array must be of the same length as the number of specified items.
4343
* <p/>

‎hamcrest-library/src/main/java/org/hamcrest/text/IsEqualIgnoringCase.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
public class IsEqualIgnoringCase extends TypeSafeMatcher<String> {
1414

15-
// TODO: Replace String with CharSequence to allow for easy interopability between
15+
// TODO: Replace String with CharSequence to allow for easy interoperability between
1616
// String, StringBuffer, StringBuilder, CharBuffer, etc (joe).
1717

1818
private final String string;

‎hamcrest-library/src/main/java/org/hamcrest/text/IsEqualIgnoringWhiteSpace.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
public class IsEqualIgnoringWhiteSpace extends TypeSafeMatcher<String> {
1616

17-
// TODO: Replace String with CharSequence to allow for easy interopability between
17+
// TODO: Replace String with CharSequence to allow for easy interoperability between
1818
// String, StringBuffer, StringBuilder, CharBuffer, etc (joe).
1919

2020
private final String string;

0 commit comments

Comments
 (0)