Fix formatting of submission IDs

When changes get submitted we use the RequestId as submission ID, but
the method that formatted the RequestId for storage was cutting off the
first and last characters from the RequestId. Earlier this was needed
because the RequestId string included square brackets around the actual
request ID. Change I116a188cf removed the square brackets but forgot to
adapt the toStringForStorage() method.

Change-Id: I2d46ede7096eec796a6d99987b7dfff20c3bcb33
Signed-off-by: Edwin Kempin <ekempin@google.com>
(cherry picked from commit e3c248c885)
This commit is contained in:
Edwin Kempin
2019-11-14 12:09:34 +01:00
committed by David Pursehouse
parent b8c45d86d5
commit 5a3aa037db

View File

@@ -72,6 +72,6 @@ public class RequestId {
}
public String toStringForStorage() {
return str.substring(1, str.length() - 1);
return str;
}
}