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

liquibase.diff.StringDiff Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
package liquibase.diff;

public class StringDiff {
    private String baseVersion;
    private 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