Repository: storm Updated Branches: refs/heads/master 2d8811dcc -> 97613ac77
[STORM-1426] keep backtype.storm.tuple.AddressedTuple and delete duplicated backtype.storm.messaging.AddressedTuple Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/5978612d Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/5978612d Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/5978612d Branch: refs/heads/master Commit: 5978612d2d5f9bd0fb44714d7056dfcc70d57596 Parents: 57d7cf6 Author: ablecao <[email protected]> Authored: Tue Dec 29 15:08:54 2015 +0800 Committer: ablecao <[email protected]> Committed: Tue Dec 29 15:08:54 2015 +0800 ---------------------------------------------------------------------- .../storm/messaging/AddressedTuple.java | 46 -------------------- 1 file changed, 46 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/5978612d/storm-core/src/jvm/backtype/storm/messaging/AddressedTuple.java ---------------------------------------------------------------------- diff --git a/storm-core/src/jvm/backtype/storm/messaging/AddressedTuple.java b/storm-core/src/jvm/backtype/storm/messaging/AddressedTuple.java deleted file mode 100644 index de9a3e6..0000000 --- a/storm-core/src/jvm/backtype/storm/messaging/AddressedTuple.java +++ /dev/null @@ -1,46 +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 backtype.storm.messaging; - -import backtype.storm.tuple.Tuple; - -/** - * A Tuple that is addressed to a destination. - */ -public class AddressedTuple { - public final Tuple tuple; - public final int dest; - - public AddressedTuple(int dest, Tuple tuple) { - this.dest = dest; - this.tuple = tuple; - } - - public Tuple getTuple() { - return tuple; - } - - public int getDest() { - return dest; - } - - @Override - public String toString() { - return "[dest: "+dest+" tuple: "+tuple+"]"; - } -}
