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
Remove major and minor code smells in dr-node
[dmaap/datarouter.git]
/
datarouter-node
/
src
/
main
/
java
/
org
/
onap
/
dmaap
/
datarouter
/
node
/
PublishId.java
diff --git
a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/PublishId.java
b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/PublishId.java
index
3d4908e
..
5b7248a
100644
(file)
--- a/
datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/PublishId.java
+++ b/
datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/PublishId.java
@@
-28,6
+28,7
@@
package org.onap.dmaap.datarouter.node;
* Generate publish IDs
*/
public class PublishId {
* Generate publish IDs
*/
public class PublishId {
+
private long nextuid;
private String myname;
private long nextuid;
private String myname;
@@
-41,7
+42,8
@@
public class PublishId {
}
/**
}
/**
- * Generate a Data Router Publish ID that uniquely identifies the particular invocation of the Publish API for log correlation purposes.
+ * Generate a Data Router Publish ID that uniquely identifies the particular invocation of the Publish API for log
+ * correlation purposes.
*/
public synchronized String next() {
long now = System.currentTimeMillis();
*/
public synchronized String next() {
long now = System.currentTimeMillis();