kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject kafka git commit: HOTFIX: Fix checkstyle indentation error in ConnectorPluginsResource
Date Wed, 05 Apr 2017 09:54:05 GMT
Repository: kafka
Updated Branches:
  refs/heads/0.10.2 5a57913d5 -> d64025911


HOTFIX: Fix checkstyle indentation error in ConnectorPluginsResource


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/d6402591
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/d6402591
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/d6402591

Branch: refs/heads/0.10.2
Commit: d640259110be5113aca65129bb10de90d2a09527
Parents: 5a57913
Author: Ismael Juma <ismael@juma.me.uk>
Authored: Wed Apr 5 10:53:40 2017 +0100
Committer: Ismael Juma <ismael@juma.me.uk>
Committed: Wed Apr 5 10:53:40 2017 +0100

----------------------------------------------------------------------
 .../runtime/rest/resources/ConnectorPluginsResource.java       | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/d6402591/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/resources/ConnectorPluginsResource.java
----------------------------------------------------------------------
diff --git a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/resources/ConnectorPluginsResource.java
b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/resources/ConnectorPluginsResource.java
index 4e3e8e4..c11a4d3 100644
--- a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/resources/ConnectorPluginsResource.java
+++ b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/resources/ConnectorPluginsResource.java
@@ -49,10 +49,8 @@ public class ConnectorPluginsResource {
 
     @PUT
     @Path("/{connectorType}/config/validate")
-    public ConfigInfos validateConfigs(
-        final @PathParam("connectorType") String connType,
-        final Map<String, String> connectorConfig
-    ) throws Throwable {
+    public ConfigInfos validateConfigs(final @PathParam("connectorType") String connType,
+                                       final Map<String, String> connectorConfig) throws
Throwable {
         String includedConnType = connectorConfig.get(ConnectorConfig.CONNECTOR_CLASS_CONFIG);
         if (includedConnType != null
             && !normalizedPluginName(includedConnType).endsWith(normalizedPluginName(connType)))
{


Mime
View raw message