Skip to content

Commit

Permalink
[typo] change version (apache#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnehil authored Dec 3, 2024
1 parent a75cf3b commit 157ef07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spark-doris-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</mailingLists>

<properties>
<revision>1.4.0-SNAPSHOT</revision>
<revision>24.0.0-SNAPSHOT</revision>
<spark.version>2.4.8</spark.version>
<spark.major.version>2.4</spark.major.version>
<scala.version>2.11.12</scala.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public int compareTo(PartitionDefinition o) {
similar.retainAll(o.tabletIds);
diffSelf.removeAll(similar);
diffOther.removeAll(similar);
if (diffSelf.size() == 0) {
if (diffSelf.isEmpty()) {
return 0;
}
long diff = Collections.min(diffSelf) - Collections.min(diffOther);
Expand All @@ -127,7 +127,7 @@ public boolean equals(Object o) {
return Objects.equals(database, that.database)
&& Objects.equals(table, that.table)
&& Objects.equals(beAddress, that.beAddress)
&& Objects.equals(tabletIds, that.tabletIds)
&& tabletIds.size() == that.tabletIds.size() && tabletIds.containsAll(that.tabletIds)
&& Objects.equals(queryPlan, that.queryPlan)
&& Objects.equals(serializedSettings, that.serializedSettings);
}
Expand Down

0 comments on commit 157ef07

Please sign in to comment.