DBZ-611 Typo fix and formatting

This commit is contained in:
Gunnar Morling 2018-03-06 14:03:51 +01:00
parent a51322da0c
commit 1f385c21f9

View File

@ -14,6 +14,7 @@
import org.apache.kafka.connect.data.SchemaBuilder;
import org.apache.kafka.connect.errors.ConnectException;
import io.debezium.jdbc.JdbcValueConverters;
import io.debezium.jdbc.JdbcValueConverters.DecimalMode;
/**
@ -130,12 +131,12 @@ else if (!decimalValue.equals(other.decimalValue))
}
/**
* Returns a {@link SchemaBuilder} for a decimal numbers depending on {@link JdbcValueConverters.DecimalMode}.
* You can use the resulting SchemaBuilder
* to set additional schema settings such as required/optional, default value, and documentation.
* Returns a {@link SchemaBuilder} for a decimal number depending on {@link JdbcValueConverters.DecimalMode}. You
* can use the resulting schema builder to set additional schema settings such as required/optional, default value,
* and documentation.
*
* @param mode - the mode in which the number should be encoded
* @param scale - scale of the decimal
* @param mode the mode in which the number should be encoded
* @param scale scale of the decimal
* @return the schema builder
*/
public static SchemaBuilder builder(DecimalMode mode, int scale) {