@@ -546,7 +546,7 @@ else if (parentLoopIds.size() == 1)
546546 }
547547
548548 /**
549- * Stores some data from the XML defintion into a loop configuration object
549+ * Stores some data from the XML definition into a loop configuration object
550550 * @param loop loop to be proceesed
551551 * @param parentID parent loop id of the loop being processed
552552 */
@@ -624,7 +624,7 @@ private String getParentLoop(String loopId, String previousLoopId) {
624624 }
625625
626626 /**
627- * Gets all possible parent loops from the defintion object. Need a list since it is possible for one loop to have two different parents.
627+ * Gets all possible parent loops from the definition object. Need a list since it is possible for one loop to have two different parents.
628628 * @param loop ---- object to loop over
629629 * @param id --- the id of the loop we want to find parents for
630630 * @param parentLoop --- list of parent loops.
@@ -701,7 +701,7 @@ else if (matchedLoops.size() == 1)
701701 */
702702 private boolean isChildSegment (String previousLoopId , String [] tokens ) {
703703
704- List <SegmentDefinition > loopSegs = getSegmentDefintions (_definition .getLoop (), previousLoopId );
704+ List <SegmentDefinition > loopSegs = getSegmentDefinitions (_definition .getLoop (), previousLoopId );
705705 if (loopSegs != null ) {
706706 for (int i = 1 ; i < loopSegs .size (); i ++) { // we want to skip the first segment
707707 SegmentDefinition seg = loopSegs .get (i );
@@ -745,7 +745,7 @@ private LoopConfig getFinalizedMatch(String previousLoopId, List<LoopConfig> mat
745745 * @return boolean indicating validation success
746746 */
747747 private boolean validateLines (List <String > segments , String loopId , Separators separators ) {
748- List <SegmentDefinition > format = getSegmentDefintions (_definition .getLoop (), loopId );
748+ List <SegmentDefinition > format = getSegmentDefinitions (_definition .getLoop (), loopId );
749749 int [] segmentCounter = new int [format .size ()];
750750 boolean lineMatchesFormat = false ;
751751
@@ -941,13 +941,13 @@ private boolean compareRepeats(int count, String repeatCondition, String parentI
941941 * @param id id of the loop we want to get segment information for
942942 * @return the list of segment format information
943943 */
944- private List <SegmentDefinition > getSegmentDefintions (LoopDefinition loop , String id ) {
944+ private List <SegmentDefinition > getSegmentDefinitions (LoopDefinition loop , String id ) {
945945 List <SegmentDefinition > segs = new ArrayList <>();
946946
947947 if (!loop .getXid ().equals (id )) {
948948 if (loop .getLoop () != null )
949949 for (LoopDefinition subloop : loop .getLoop ()) {
950- segs = getSegmentDefintions (subloop , id );
950+ segs = getSegmentDefinitions (subloop , id );
951951 if (segs == null || segs .size () != 0 )
952952 break ;
953953 }
@@ -1011,4 +1011,4 @@ private List<Integer> getRequiredCompositePositions(SegmentDefinition seg) {
10111011
10121012 return requiredPositions ;
10131013 }
1014- }
1014+ }
0 commit comments