((PropertiesContext) ctx).addSystemProperties();
}
}
private void sanitizeContext() {
final BootstrapContext ctx = BootstrapContext.CURRENT.get();
ctx.put(BootstrapContext.CONFIG_KEY_APP_ID, sanitizeAppId(ctx));
try {
ctx.put(BootstrapContext.CONFIG_KEY_APP_DIR, sanitizeAppDir(ctx));
} catch (final IOException e) {
warn("failed to sanitize %s: %s", BootstrapContext.CONFIG_KEY_APP_DIR, e);
}
}