Author: schor Date: Fri May 6 22:11:46 2016 New Revision: 1742656 URL: http://svn.apache.org/viewvc?rev=1742656&view=rev Log: no jira - add comments
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/test/NewPrimitiveTypesTest.java Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/test/NewPrimitiveTypesTest.java URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/test/NewPrimitiveTypesTest.java?rev=1742656&r1=1742655&r2=1742656&view=diff ============================================================================== --- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/test/NewPrimitiveTypesTest.java (original) +++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/test/NewPrimitiveTypesTest.java Fri May 6 22:11:46 2016 @@ -381,14 +381,14 @@ public class NewPrimitiveTypesTest exten // clone it AnnotationFS clone = (AnnotationFS) fs.clone(); - // subsitute the clone for the original in the index, + // substitute the clone for the original in the index, // and validate that it was correctly copied englishView.removeFsFromIndexes(fs); englishView.addFsToIndexes(clone); validateFSData(cas); // editing the original FS should not change the clone - englishView.removeFsFromIndexes(fs); + englishView.removeFsFromIndexes(fs); // does nothing, is not in the index, the clone is fs.setStringValue(stringFeature, "foo"); fs.setFloatValue(floatFeature, -1f); fs.setByteValue(byteFeature, (byte) -1); @@ -397,7 +397,7 @@ public class NewPrimitiveTypesTest exten fs.setLongValue(longFeature, -1); fs.setDoubleValue(doubleFeature, -1); fs.setBegin(clone.getBegin() + 1); // to be sure that fs is beyond the original - englishView.addFsToIndexes(fs); + englishView.addFsToIndexes(fs); // will add, is no longer "equal" to the clone validateFSData(cas); }