You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by mg...@apache.org on 2025/04/14 16:58:32 UTC

(kudu) 11/14: checkstyle things happy

This is an automated email from the ASF dual-hosted git repository.

mgreber pushed a commit to branch flink-replication
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 1471a8f9efea6fbd86943365be06334dc603d950
Author: Marton Greber <gr...@gmail.com>
AuthorDate: Tue Apr 8 15:50:32 2025 +0200

    checkstyle things happy
---
 .../apache/kudu/replication/TestReplication.java   | 33 ++++++++++++++++------
 1 file changed, 24 insertions(+), 9 deletions(-)

diff --git a/java/kudu-replication/src/test/java/org/apache/kudu/replication/TestReplication.java b/java/kudu-replication/src/test/java/org/apache/kudu/replication/TestReplication.java
index 1adcde59f..9d25adfc8 100644
--- a/java/kudu-replication/src/test/java/org/apache/kudu/replication/TestReplication.java
+++ b/java/kudu-replication/src/test/java/org/apache/kudu/replication/TestReplication.java
@@ -1,5 +1,29 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
 package org.apache.kudu.replication;
 
+import static org.apache.kudu.test.ClientTestUtil.countRowsInTable;
+import static org.apache.kudu.test.ClientTestUtil.createTableWithOneThousandRows;
+import static org.apache.kudu.test.KuduTestHarness.DEFAULT_SLEEP;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 import java.util.Arrays;
 
 import org.junit.Before;
@@ -8,19 +32,10 @@ import org.junit.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import static org.apache.kudu.test.ClientTestUtil.countRowsInTable;
-import static org.apache.kudu.test.ClientTestUtil.createTableWithOneThousandRows;
-import static org.apache.kudu.test.KuduTestHarness.DEFAULT_SLEEP;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
-
 import org.apache.kudu.client.KuduClient;
 import org.apache.kudu.client.KuduTable;
 import org.apache.kudu.test.KuduTestHarness;
 
-
-
 public class TestReplication {
   private static final Logger LOG = LoggerFactory.getLogger(TestReplication.class);
   private static final String TABLE_NAME = "replication_test_table";