1
0

[HUDI-379] Refactor the codes based on new JavadocStyle code style rule (#1079)

This commit is contained in:
lamber-ken
2019-12-06 12:59:28 +08:00
committed by leesf
parent c06d89b648
commit 2745b7552f
137 changed files with 434 additions and 433 deletions

View File

@@ -560,12 +560,12 @@ public class TestHoodieDeltaStreamer extends UtilitiesTestBase {
}
/**
* UDF to calculate Haversine distance
* UDF to calculate Haversine distance.
*/
public static class DistanceUDF implements UDF4<Double, Double, Double, Double, Double> {
/**
* Returns some random number as distance between the points
* Returns some random number as distance between the points.
*
* @param lat1 Latitiude of source
* @param lat2 Latitude of destination
@@ -580,7 +580,7 @@ public class TestHoodieDeltaStreamer extends UtilitiesTestBase {
}
/**
* Adds a new field "haversine_distance" to the row
* Adds a new field "haversine_distance" to the row.
*/
public static class TripsWithDistanceTransformer implements Transformer {
@@ -601,7 +601,7 @@ public class TestHoodieDeltaStreamer extends UtilitiesTestBase {
}
/**
* Return empty dataset
* Return empty dataset.
*/
public static class DropAllTransformer implements Transformer {

View File

@@ -119,7 +119,7 @@ public class UtilitiesTestBase {
}
/**
* Helper to get hive sync config
* Helper to get hive sync config.
*
* @param basePath
* @param tableName
@@ -140,7 +140,7 @@ public class UtilitiesTestBase {
}
/**
* Initialize Hive DB
* Initialize Hive DB.
*
* @throws IOException
*/

View File

@@ -48,7 +48,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/**
* Basic tests against all subclasses of {@link JsonDFSSource} and {@link ParquetDFSSource}
* Basic tests against all subclasses of {@link JsonDFSSource} and {@link ParquetDFSSource}.
*/
public class TestDFSSource extends UtilitiesTestBase {

View File

@@ -48,7 +48,7 @@ import java.util.HashMap;
import static org.junit.Assert.assertEquals;
/**
* Tests against {@link AvroKafkaSource}
* Tests against {@link AvroKafkaSource}.
*/
public class TestKafkaSource extends UtilitiesTestBase {

View File

@@ -19,7 +19,7 @@
package org.apache.hudi.utilities.sources.config;
/**
* Configurations for Test Data Sources
* Configurations for Test Data Sources.
*/
public class TestSourceConfig {