Opened 17 months ago

Last modified 17 months ago

#5629 assigned enhancement

Multiple copyFile implementations.

Reported by: Zimon Kuhs Owned by: Zimon Kuhs
Priority: trivial Milestone:
Component: General Version: trunk
Keywords: Cc:

Description

There exist file copy methods in org.jmodelica.util.files.FileUtil, copy and copyRecursive. Despite this, there exists multiple local implementations of file copying. The one in FileUtil should be used instead.

Places in which other implementations exist:

  • CCompilerDelegator.jrag#206
  • CCompilerDelegator.jrag#328.
  • Util.jrag#1901; ASTNode.copyFile.
  • TransformCanonical#2913.

Change History (1)

comment:1 Changed 17 months ago by Zimon Kuhs

r11313

Unified file copying across the compiler to use FileUtil.copy instead of class-local implementations.

Note: See TracTickets for help on using tickets.