mapr-demos / mapr-fs-replication-extension

MapR FS real time replication and API
Apache License 2.0
0 stars 0 forks source link

Consumer: Add Trailing Slash in the replication folder configuration #18

Closed tgrall closed 8 years ago

tgrall commented 8 years ago
  1. Consumer get the target folder from a configuration property (rename id cluster.target_folder) t0 make it easier to understand
  2. This property is a path that should be ended by a / - add this to the code
tdunning commented 8 years ago

Almost always, when somebody says that a path should always end with a slash, it means that we should be using File(dir, path) to join things rather than string append.