/** * Warn about paths that are deprecated (not in use). * @param config * @param paths * @param configName */ protected static void processDeprecatedPaths(ConfigurationSection config, String configName, final Set<String> removePaths) { warnPaths(config, deprecatedPrefixes, " (" + configName + ") is not in use anymore.", removePaths); }
/** * Warn about paths that are only to be set in the global config. * @param config * @param paths * @param configName */ protected static void processGlobalOnlyPaths(ConfigurationSection config, String configName, final Set<String> removePaths) { warnPaths(config, globalOnlyPrefixes, " (" + configName + ") should only be set in the global configuration.", removePaths); }