01: package liquibase.diff;
02:
03: public class DiffComparison {
04: private String baseVersion;
05: private String targetVersion;
06:
07: public DiffComparison(String baseVersion, String targetVersion) {
08: this .baseVersion = baseVersion;
09: this .targetVersion = targetVersion;
10: }
11:
12: public String getBaseVersion() {
13: return baseVersion;
14: }
15:
16: public String getTargetVersion() {
17: return targetVersion;
18: }
19:
20: public boolean areTheSame() {
21: return baseVersion.equals(targetVersion);
22: }
23: }
|