Skip to content

Commit

Permalink
fix: renamed method to avoid checkstyle error (#3652)
Browse files Browse the repository at this point in the history
  • Loading branch information
purplefox authored Oct 23, 2019
1 parent 9856321 commit a8a3588
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Optional<Connector> fromConfigs(final Map<String, String> properties) {
topic -> topic.startsWith(prefix),
topic -> clean(name + "_" + topic.substring(prefix.length())),
DataSourceType.KTABLE,
extractKeyNameFromSMT(properties).orElse(null)
extractKeyNameFromSmt(properties).orElse(null)
));
}

Expand Down Expand Up @@ -85,7 +85,7 @@ public Map<String, String> resolveConfigs(final Map<String, String> configs) {
* <p>This is pretty hacky, and we need to figure out a better long-term way to determine the key
* column from a connector.</p>
*/
private static Optional<String> extractKeyNameFromSMT(final Map<String, String> properties) {
private static Optional<String> extractKeyNameFromSmt(final Map<String, String> properties) {
final String transformsString = properties.get("transforms");
if (transformsString == null) {
return Optional.empty();
Expand Down

0 comments on commit a8a3588

Please sign in to comment.