From c6b2072b9cc6642a47ba83655db59a57354988e5 Mon Sep 17 00:00:00 2001 From: Ewen Cheslack-Postava Date: Tue, 31 Jul 2018 11:23:42 -0700 Subject: [PATCH] Fix checkstyle to pass on 8.5 after upgrade from 6.19 (#81) --- .../connect/storage/partitioner/DefaultPartitioner.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/partitioner/src/main/java/io/confluent/connect/storage/partitioner/DefaultPartitioner.java b/partitioner/src/main/java/io/confluent/connect/storage/partitioner/DefaultPartitioner.java index 11ca9286f..701100b3f 100644 --- a/partitioner/src/main/java/io/confluent/connect/storage/partitioner/DefaultPartitioner.java +++ b/partitioner/src/main/java/io/confluent/connect/storage/partitioner/DefaultPartitioner.java @@ -69,11 +69,10 @@ public SchemaGenerator newSchemaGenerator(Map config) { try { generatorClass = getSchemaGeneratorClass(); return generatorClass.newInstance(); - } catch ( - ClassNotFoundException - | ClassCastException - | IllegalAccessException - | InstantiationException e) { + } catch (ClassNotFoundException + | ClassCastException + | IllegalAccessException + | InstantiationException e) { ConfigException ce = new ConfigException("Invalid generator class: " + generatorClass); ce.initCause(e); throw ce;