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>
This commit is contained in:
@@ -72,6 +72,6 @@ public class RequestId {
|
||||
}
|
||||
|
||||
public String toStringForStorage() {
|
||||
return str.substring(1, str.length() - 1);
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user