Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
clang format
  • Loading branch information
itakurah committed Dec 8, 2023
commit c9ddebe4e1e6cd441ac7309000c89acbad2d8aee
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ enum Bias {
* ADDS bias for the add set.
* REMOVALS bias for the remove set.
*/
ADDS, REMOVALS
ADDS,
REMOVALS
}

class LWWElementSet {
Expand Down Expand Up @@ -129,7 +130,6 @@ public boolean compareTimestamps(Element e, Element other) {
Bias bias = e.bias;
int timestampComparison = Integer.compare(e.timestamp, other.timestamp);


if (timestampComparison == 0) {
return !bias.equals(Bias.ADDS);
}
Expand Down