coreRuntime/src/sc/sync/SyncManager.java
private static void addAllParentContexts(ArrayList<SyncContext> parentList, ArrayList<SyncContext> result) {
      for (int i = 0; i < parentList.size(); i++) {
         SyncContext parent = parentList.get(i);
         if (parent.parentContexts != null)
            addAllParentContexts(parent.parentContexts, result);
      }
      result.addAll(parentList);
   }
// Accumulate the list of all parent sync contexts.  We sort by scopeId and remove duplicates on this list but might as well get a rough sort
Accumulate the list of all parent sync contexts.  We sort by scopeId and remove duplicates on this list but might as well get a rough sort
Accumulate the list of all parent sync contexts . We sort by scopeId and remove duplicates on this list but might as well get a rough sort
private static void addAllParentContexts(ArrayList<SyncContext> parentList, ArrayList<SyncContext> result) {
      for (int i = 0; i < parentList.size(); i++) {
         SyncContext parent = parentList.get(i);
         if (parent.parentContexts != null)
            addAllParentContexts(parent.parentContexts, result);
      }
      result.addAll(parentList);
   }
private static void addAllParentContexts ( ArrayList < SyncContext > parentList , ArrayList < SyncContext > result ) { for ( int i = 0 ; i < parentList . size ( ) ; i ++ ) { SyncContext parent = parentList . get ( i ) ; if ( parent . parentContexts != null ) addAllParentContexts ( parent . parentContexts , result ) ; } result . addAll ( parentList ) ; }
Accumulate the list of all parent sync contexts.
Accumulate the list of all parent sync contexts .