All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.datafox.dfxengine.dependencies.utils.DependencyStrings Maven / Gradle / Ivy

package me.datafox.dfxengine.dependencies.utils;

import me.datafox.dfxengine.dependencies.Dependent;
import me.datafox.dfxengine.dependencies.Dependency;

/**
 * Contains all string literals used for logging in this module.
 *
 * @author datafox
 */
@SuppressWarnings("MissingJavadoc")
public class DependencyStrings {
    private static final String CYCLIC_DETECTED =
            "Dependency %s cannot be added to Dependent %s, cyclic dependency chain detected";

    public static String cyclicDetected(Dependent dependency, Dependency dependent) {
        return String.format(CYCLIC_DETECTED, dependency, dependent);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy