code: private void adjustModuleResources(
          CmsModule sourceModule,
          CmsModule targetModule,
          String sourcePathPart,
          String targetPathPart,
          Map<String, String> iconPaths) {
  
          List<String> newTargetResources = adjustModuleResourcePaths(
              targetModule.getResources(),
              sourceModule.getName(),
              targetModule.getName(),
              sourcePathPart,
              targetPathPart,
              iconPaths);
          targetModule.setResources(newTargetResources);
  
          List<String> newTargetExcludeResources = adjustModuleResourcePaths(
              targetModule.getExcludeResources(),
              sourceModule.getName(),
              targetModule.getName(),
              sourcePathPart,
              targetPathPart,
              iconPaths);
          targetModule.setExcludeResources(newTargetExcludeResources);
      }
docs: Adjusts the paths of the module resources from the source path to the target path.<p>
  
  @param sourceModule the source module
  @param targetModule the target module
  @param sourcePathPart the path part of the source module
  @param targetPathPart the path part of the target module
  @param iconPaths the path where resource type icons are located