File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/org/scijava/convert Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ public void testPrimitives() {
147
147
*/
148
148
@ Test
149
149
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
151
151
// paired PrimitiveArray
152
152
testIntechangeable (int [].class , IntArray .class );
153
153
testIntechangeable (long [].class , LongArray .class );
@@ -157,7 +157,7 @@ public void testArrays() {
157
157
testIntechangeable (char [].class , CharArray .class );
158
158
testIntechangeable (boolean [].class , BoolArray .class );
159
159
160
- // Test that primitive [] can not be convertied to mismatched PrimitiveArray
160
+ // Test that primitive [] can not be converted to mismatched PrimitiveArray
161
161
assertFalse (convertService .supports (int [].class , LongArray .class ));
162
162
163
163
// Test that lists can be converted to any primitive []
@@ -883,7 +883,7 @@ public <T> T convert(Object src, Class<T> dest) {
883
883
// -- Helper methods --
884
884
885
885
/**
886
- * Verify bi-direciotnal conversion is supported between the two classes
886
+ * Verify bi-directional conversion is supported between the two classes
887
887
*/
888
888
private void testIntechangeable (final Class <?> c1 , final Class <?> c2 ) {
889
889
assertTrue (convertService .supports (c1 , c2 ));
You can’t perform that action at this time.
0 commit comments