summaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/document/GlobalId.java
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/main/java/com/yahoo/document/GlobalId.java')
-rw-r--r--document/src/main/java/com/yahoo/document/GlobalId.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/document/src/main/java/com/yahoo/document/GlobalId.java b/document/src/main/java/com/yahoo/document/GlobalId.java
index 9e90b59171c..b9d454dd007 100644
--- a/document/src/main/java/com/yahoo/document/GlobalId.java
+++ b/document/src/main/java/com/yahoo/document/GlobalId.java
@@ -40,10 +40,10 @@ public class GlobalId implements Comparable {
/**
* Constructs a new global id from a document id string.
*
- * @param id The document id to derive from.
+ * @param id the document id to derive from
*/
public GlobalId(IdString id) {
- byte [] raw = MD5.md5.get().digest(id.toUtf8().wrap().array());
+ byte[] raw = MD5.md5.get().digest(id.toUtf8().wrap().array());
long location = id.getLocation();
this.raw = new byte [LENGTH];
for (int i = 0; i < 4; ++i) {
@@ -57,7 +57,7 @@ public class GlobalId implements Comparable {
/**
* Constructs a global id by deserializing content from the given byte buffer.
*
- * @param buf The buffer to deserialize from.
+ * @param buf the buffer to deserialize from
*/
public GlobalId(Deserializer buf) {
raw = buf.getBytes(null, LENGTH);
@@ -66,7 +66,7 @@ public class GlobalId implements Comparable {
/**
* Serializes the content of this global id into the given byte buffer.
*
- * @param buf The buffer to serialize to.
+ * @param buf the buffer to serialize to
*/
public void serialize(Serializer buf) {
buf.put(null, raw);