review
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/880b59b9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/880b59b9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/880b59b9 Branch: refs/heads/ignite-709_3 Commit: 880b59b96f1cc9f2ead0d6a0e7d849f6635b2bae Parents: 11d0d13 Author: Yakov Zhdanov <yzhda...@gridgain.com> Authored: Wed May 6 14:29:52 2015 +0300 Committer: Yakov Zhdanov <yzhda...@gridgain.com> Committed: Wed May 6 14:29:52 2015 +0300 ---------------------------------------------------------------------- .../managers/discovery/DiscoveryCustomMessage.java | 4 ++-- .../continuous/StartRoutineDiscoveryMessage.java | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/880b59b9/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/DiscoveryCustomMessage.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/DiscoveryCustomMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/DiscoveryCustomMessage.java index c797ebd..dcb0cea 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/DiscoveryCustomMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/DiscoveryCustomMessage.java @@ -5,9 +5,9 @@ * 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. http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/880b59b9/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/StartRoutineDiscoveryMessage.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/StartRoutineDiscoveryMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/StartRoutineDiscoveryMessage.java index 7fa78b6..492a1e7 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/StartRoutineDiscoveryMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/StartRoutineDiscoveryMessage.java @@ -5,9 +5,9 @@ * 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. @@ -19,8 +19,8 @@ package org.apache.ignite.internal.processors.continuous; import org.apache.ignite.*; import org.apache.ignite.internal.managers.discovery.*; +import org.apache.ignite.internal.util.typedef.internal.*; import org.apache.ignite.spi.*; -import org.apache.ignite.spi.discovery.tcp.messages.*; import java.util.*; @@ -46,8 +46,6 @@ public class StartRoutineDiscoveryMessage implements RingEndAwareCustomMessage { this.startReqData = startReqData; } - - /** {@inheritDoc} */ @Override public boolean forwardMinorVersion() { return false; @@ -86,4 +84,9 @@ public class StartRoutineDiscoveryMessage implements RingEndAwareCustomMessage { @Override public DiscoveryCustomMessage newMessageOnRingEnd(IgniteSpiContext ctx) { return new StartRoutineAckDiscoveryMessage(routineId, errs); } + + /** {@inheritDoc} */ + @Override public String toString() { + return S.toString(StartRoutineDiscoveryMessage.class, this, super.toString()); + } }