You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by nr...@apache.org on 2017/11/22 18:16:52 UTC

[geode] branch feature/GEODE-3824 updated: Remove uneede class

This is an automated email from the ASF dual-hosted git repository.

nreich pushed a commit to branch feature/GEODE-3824
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-3824 by this push:
     new 39bc419  Remove uneede class
39bc419 is described below

commit 39bc419c24a5b5882a709f59b6b12fc54fb6aa88
Author: Nick Reich <nr...@pivotal.io>
AuthorDate: Wed Nov 22 10:16:36 2017 -0800

    Remove uneede class
---
 .../jdbc/internal/cli/CreateConnectionCommand.java  |  6 ++----
 .../internal/cli/CreateConnectionInterceptor.java   | 21 ---------------------
 2 files changed, 2 insertions(+), 25 deletions(-)

diff --git a/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/CreateConnectionCommand.java b/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/CreateConnectionCommand.java
index 269dd6d..f16247f 100644
--- a/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/CreateConnectionCommand.java
+++ b/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/CreateConnectionCommand.java
@@ -60,8 +60,7 @@ public class CreateConnectionCommand implements GfshCommand {
   private static final String ERROR_PREFIX = "ERROR: ";
 
   @CliCommand(value = CREATE_CONNECTION, help = CREATE_CONNECTION__HELP)
-  @CliMetaData(relatedTopic = CliStrings.TOPIC_GEODE_REGION,
-      interceptor = "org.apache.geode.connectors.jdbc.internal.cli.CreateConnectionInterceptor")
+  @CliMetaData(relatedTopic = CliStrings.TOPIC_GEODE_REGION)
   @ResourceOperation(resource = ResourcePermission.Resource.CLUSTER,
       operation = ResourcePermission.Operation.MANAGE)
   public Result createConnection(
@@ -86,8 +85,7 @@ public class CreateConnectionCommand implements GfshCommand {
 
     Object resultCollectorResult = resultCollector.getResult();
 
-    List<CliFunctionResult> regionCreateResults =
-        (List<CliFunctionResult>) resultCollectorResult;
+    List<CliFunctionResult> regionCreateResults = (List<CliFunctionResult>) resultCollectorResult;
 
     AtomicReference<XmlEntity> xmlEntity = new AtomicReference<>();
     TabularResultData tabularResultData = ResultBuilder.createTabularResultData();
diff --git a/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/CreateConnectionInterceptor.java b/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/CreateConnectionInterceptor.java
deleted file mode 100644
index e006336..0000000
--- a/geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/CreateConnectionInterceptor.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
- * agreements. See the NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License. You may obtain a
- * copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-package org.apache.geode.connectors.jdbc.internal.cli;
-
-import org.apache.geode.management.internal.cli.AbstractCliAroundInterceptor;
-
-public class CreateConnectionInterceptor extends AbstractCliAroundInterceptor {
-
-}

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].