diff --git a/gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/client/RevId.java b/gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/client/RevId.java index 1a64ee79c1..a73fe5d1fd 100644 --- a/gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/client/RevId.java +++ b/gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/client/RevId.java @@ -64,4 +64,9 @@ public final class RevId { public boolean equals(Object o) { return (o instanceof RevId) && id.equals(((RevId) o).id); } + + @Override + public String toString() { + return getClass().getSimpleName() + "{" + id + "}"; + } }