ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [49/76] [abbrv] incubator-ignite git commit: #ignite-189: Remove GridNoopProcessorAdapter.
Date Fri, 13 Feb 2015 18:03:55 GMT
#ignite-189: Remove GridNoopProcessorAdapter.


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

Branch: refs/heads/ignite-hadoop-tests
Commit: a0140db39bf65d78585cab99480865d393585578
Parents: 655b239
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Feb 13 16:29:26 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Feb 13 16:29:26 2015 +0300

----------------------------------------------------------------------
 .../processors/GridNoopProcessorAdapter.java    | 88 --------------------
 .../os/GridOsSecureSessionProcessor.java        |  2 +-
 .../security/os/GridOsSecurityProcessor.java    |  2 +-
 3 files changed, 2 insertions(+), 90 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a0140db3/modules/core/src/main/java/org/apache/ignite/internal/processors/GridNoopProcessorAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/GridNoopProcessorAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/GridNoopProcessorAdapter.java
deleted file mode 100644
index c771f25..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/GridNoopProcessorAdapter.java
+++ /dev/null
@@ -1,88 +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.ignite.internal.processors;
-
-import org.apache.ignite.*;
-import org.apache.ignite.cluster.*;
-import org.apache.ignite.internal.*;
-import org.apache.ignite.spi.*;
-import org.jetbrains.annotations.*;
-
-import java.util.*;
-
-/**
- * No-op {@link GridProcessor} adapter.
- */
-public class GridNoopProcessorAdapter implements GridProcessor {
-    /**
-     * @param ctx Kernal context.
-     */
-    public GridNoopProcessorAdapter(GridKernalContext ctx) {
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Override public void addAttributes(Map<String, Object> attrs) throws IgniteCheckedException
{
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Override public void start() throws IgniteCheckedException {
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Override public void stop(boolean cancel) throws IgniteCheckedException {
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Override public void onKernalStart() throws IgniteCheckedException {
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Override public void onKernalStop(boolean cancel) {
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Nullable @Override public DiscoveryDataExchangeType discoveryDataType() {
-        return null;
-    }
-
-    /** {@inheritDoc} */
-    @Nullable @Override public Object collectDiscoveryData(UUID nodeId) {
-        return null;
-    }
-
-    /** {@inheritDoc} */
-    @Override public void onDiscoveryDataReceived(Object data) {
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Override public void printMemoryStats() {
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Nullable @Override public IgniteSpiNodeValidationResult validateNode(ClusterNode node)
{
-        return null;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a0140db3/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
index 717f866..6f4f6b2 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/securesession/os/GridOsSecureSessionProcessor.java
@@ -30,7 +30,7 @@ import java.util.*;
 /**
  * No-op implementation for {@link GridSecureSessionProcessor}.
  */
-public class GridOsSecureSessionProcessor extends GridNoopProcessorAdapter implements GridSecureSessionProcessor
{
+public class GridOsSecureSessionProcessor extends GridProcessorAdapter implements GridSecureSessionProcessor
{
     /** Empty bytes. */
     private static final byte[] EMPTY_BYTES = new byte[0];
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a0140db3/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
index 3a82bb1..b785f01 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/security/os/GridOsSecurityProcessor.java
@@ -34,7 +34,7 @@ import java.util.*;
 /**
  * No-op implementation for {@link GridSecurityProcessor}.
  */
-public class GridOsSecurityProcessor extends GridNoopProcessorAdapter implements GridSecurityProcessor
{
+public class GridOsSecurityProcessor extends GridProcessorAdapter implements GridSecurityProcessor
{
     /**
      * @param ctx Kernal context.
      */


Mime
View raw message