Skip to content

Commit 2574a4e

Browse files
awalter17ctrueden
authored andcommitted
Fix typos in ConvertServiceTest
1 parent ce7f98a commit 2574a4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/scijava/convert/ConvertServiceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public void testPrimitives() {
147147
*/
148148
@Test
149149
public void testArrays() {
150-
// Test that each primitive [] is compatible in either direciton with its
150+
// Test that each primitive [] is compatible in either direction with its
151151
// paired PrimitiveArray
152152
testIntechangeable(int[].class, IntArray.class);
153153
testIntechangeable(long[].class, LongArray.class);
@@ -157,7 +157,7 @@ public void testArrays() {
157157
testIntechangeable(char[].class, CharArray.class);
158158
testIntechangeable(boolean[].class, BoolArray.class);
159159

160-
// Test that primitive [] can not be convertied to mismatched PrimitiveArray
160+
// Test that primitive [] can not be converted to mismatched PrimitiveArray
161161
assertFalse(convertService.supports(int[].class, LongArray.class));
162162

163163
// Test that lists can be converted to any primitive []
@@ -883,7 +883,7 @@ public <T> T convert(Object src, Class<T> dest) {
883883
// -- Helper methods --
884884

885885
/**
886-
* Verify bi-direciotnal conversion is supported between the two classes
886+
* Verify bi-directional conversion is supported between the two classes
887887
*/
888888
private void testIntechangeable(final Class<?> c1, final Class<?> c2) {
889889
assertTrue(convertService.supports(c1, c2));

0 commit comments

Comments
 (0)