Skip to content

Commit 19396f7

Browse files
authored
---
yaml --- r: 8071 b: refs/heads/tswast-patch-1 c: d70f696 h: refs/heads/master i: 8069: fafee65 8067: fd40342 8063: 6d4ad77
1 parent 0b0f688 commit 19396f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • branches/tswast-patch-1/google-cloud-datastore/src/main/java/com/google/cloud/datastore

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: db1af3cea2b381d389975ab4353d352a80c6dd99
60+
refs/heads/tswast-patch-1: d70f69603963231ca2f31f66514d2cf4f689100c
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/Validator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class Validator {
3131
"([a-z\\d\\-]{1,100}~)?([a-z\\d][a-z\\d\\-\\.]{0,99}:)?([a-z\\d][a-z\\d\\-]{0,99})");
3232
private static final int MAX_NAMESPACE_LENGTH = 100;
3333
private static final Pattern NAMESPACE_PATTERN =
34-
Pattern.compile(String.format("[0-9A-Za-z\\._\\-]{0,%d}", MAX_NAMESPACE_LENGTH));
34+
Pattern.compile("[0-9A-Za-z\\._\\-]{0," + MAX_NAMESPACE_LENGTH + "}");
3535

3636
private Validator() {
3737
// utility class

0 commit comments

Comments
 (0)