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

liquibase.diff.StringDiff Maven / Gradle / Ivy

The newest version!
package liquibase.diff;

public class StringDiff {
    private final String baseVersion;
    private final String targetVersion;


    public StringDiff(String baseVersion, String targetVersion) {
        this.baseVersion = baseVersion;
        this.targetVersion = targetVersion;
    }


    public String getReferenceVersion() {
        return baseVersion;
    }

    public String getTargetVersion() {
        return targetVersion;
    }

    public boolean areEqual() {
        if (baseVersion == null) {
            return targetVersion == null;
        }
        return baseVersion.equals(targetVersion);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy