Project

General

Profile

Actions

Bug #18377

closed

Duplicated code from a merge #16513

Added by François ARMAND about 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

We have that code in PolicyWritterService:

...
      readTemplateTime1    <- currentTimeMillis
      configAndPaths       <- calculatePathsForNodeConfigurations(interestingNodeConfigs, rootNodeId, allNodeInfos, newPostfix, backupPostfix)
      pathsInfo            =  configAndPaths.map { _.paths }

      configAndPaths   <- calculatePathsForNodeConfigurations(interestingNodeConfigs, rootNodeId, allNodeInfos, newPostfix, backupPostfix)
      pathsInfo        =  configAndPaths.map { _.paths }
...

That doesn't break by some ghosting magic, but it's really spending resources for nothing.

Actions

Also available in: Atom PDF