Did you mean

`... + properties.getProperty(key).substring(IntegrationProperties.SCAN_MODULE.getKey().length()) + ...`   ??