Code Review
/
dmaap
/
datarouter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Re-adding version to parent pom"
[dmaap/datarouter.git]
/
datarouter-node
/
src
/
main
/
java
/
org
/
onap
/
dmaap
/
datarouter
/
node
/
Target.java
diff --git
a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Target.java
b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Target.java
index
eb10876
..
475c876
100644
(file)
--- a/
datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Target.java
+++ b/
datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/Target.java
@@
-25,17
+25,18
@@
package org.onap.dmaap.datarouter.node;
/**
package org.onap.dmaap.datarouter.node;
/**
- * A destination to deliver a message
+ * A destination to deliver a message
.
*/
public class Target {
*/
public class Target {
+
private DestInfo destinfo;
private String routing;
/**
private DestInfo destinfo;
private String routing;
/**
- * A destination to deliver a message
+ * A destination to deliver a message
.
*
* @param destinfo Either info for a subscription ID or info for a node-to-node transfer
*
* @param destinfo Either info for a subscription ID or info for a node-to-node transfer
- * @param routing
For a node-to-node transfer, what to do when it gets there.
+ * @param routing For a node-to-node transfer, what to do when it gets there.
*/
public Target(DestInfo destinfo, String routing) {
this.destinfo = destinfo;
*/
public Target(DestInfo destinfo, String routing) {
this.destinfo = destinfo;
@@
-43,21
+44,21
@@
public class Target {
}
/**
}
/**
- * Add additional routing
+ * Add additional routing
.
*/
public void addRouting(String routing) {
this.routing = this.routing + " " + routing;
}
/**
*/
public void addRouting(String routing) {
this.routing = this.routing + " " + routing;
}
/**
- * Get the destination information for this target
+ * Get the destination information for this target
.
*/
public DestInfo getDestInfo() {
return (destinfo);
}
/**
*/
public DestInfo getDestInfo() {
return (destinfo);
}
/**
- * Get the next hop information for this target
+ * Get the next hop information for this target
.
*/
public String getRouting() {
return (routing);
*/
public String getRouting() {
return (routing);