List<OutputLoadResult> () { myOldModulesPaths = null; myTmpFolderToModuleName = null; myContext.sendDescriptionStatusMessage(JpsBuildBundle.message("progress.text.calculating.affected.modules")); List<AffectedModule> affectedModules = calculateAffectedModules(myContext.getCurrentSourcesState(), myContext.getCommitSourcesState(), true); myContext.checkCanceled(); if (affectedModules.size() > 0) { long start = System.currentTimeMillis(); List<OutputLoadResult> loadResults = myClient.downloadCompiledModules(myContext, affectedModules); LOG.info("Download of compilation outputs took: " + (System.currentTimeMillis() - start)); return loadResults; } return Collections.emptyList(); }