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 checkstyle syntax warnings from 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
..
d1d2abb
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
@@
-25,14
+25,15
@@
package org.onap.dmaap.datarouter.node;
/**
package org.onap.dmaap.datarouter.node;
/**
- * Generate publish IDs
+ * Generate publish IDs
.
*/
public class PublishId {
*/
public class PublishId {
+
private long nextuid;
private String myname;
/**
private long nextuid;
private String myname;
/**
- * Generate publish IDs for the specified name
+ * Generate publish IDs for the specified name
.
*
* @param myname Unique identifier for this publish ID generator (usually fqdn of server)
*/
*
* @param myname Unique identifier for this publish ID generator (usually fqdn of server)
*/
@@
-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();