Skip to content

Commit

Permalink
DBZ-7628 Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
twthorn authored and jpechane committed Mar 14, 2024
1 parent faf4ae9 commit fc07915
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
*/
package io.debezium.connector.vitess.connection;

import java.time.Instant;

import io.debezium.connector.vitess.Vgtid;

import binlogdata.Binlogdata;

import java.time.Instant;

/** Decode VStream gRPC VEvent and process it with the ReplicationMessageProcessor. */
public interface MessageDecoder {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.fail;

import java.sql.Connection;
import java.time.Duration;
import java.time.Instant;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;

import java.time.Instant;

import org.junit.Before;
import org.junit.Test;
import org.slf4j.Logger;
Expand All @@ -29,8 +31,6 @@

import binlogdata.Binlogdata;

import java.time.Instant;

public class VStreamOutputMessageDecoderTest {
private static final Logger LOGGER = LoggerFactory.getLogger(VStreamOutputMessageDecoderTest.class);

Expand Down Expand Up @@ -496,7 +496,6 @@ public void shouldSetRowEventsToCommitTimestamp() throws Exception {
Vgtid newVgtid = Vgtid.of(VgtidTest.VGTID_JSON);

// exercise SUT
// final boolean[] processed = { false };
decoder.processMessage(
beginEvent,
(message, vgtid, isLastRowEventOfTransaction) -> {
Expand Down Expand Up @@ -541,7 +540,6 @@ public void shouldSetRowEventsToCommitTimestamp() throws Exception {

@Test
public void shouldSetOtherEventsToEventTimestamp() throws Exception {
// setup fixture
Long expectedEventTimestamp = 1L;
Long expectedCommitTimestamp = 2L;
Binlogdata.VEvent otherEvent = Binlogdata.VEvent.newBuilder()
Expand Down

0 comments on commit fc07915

Please sign in to comment.