Skip to content

Commit 23c396c

Browse files
committed
Update datastore dependency, fix LocalDatastoreHelper version regex
1 parent 46f808b commit 23c396c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

google-cloud-datastore/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
<dependency>
2626
<groupId>com.google.cloud.datastore</groupId>
2727
<artifactId>datastore-v1-protos</artifactId>
28-
<version>1.2.0</version>
28+
<version>1.3.0</version>
2929
</dependency>
3030
<dependency>
3131
<groupId>com.google.cloud.datastore</groupId>
3232
<artifactId>datastore-v1-proto-client</artifactId>
33-
<version>1.2.0</version>
33+
<version>1.3.0</version>
3434
<exclusions>
3535
<exclusion>
3636
<artifactId>guava-jdk5</artifactId>

google-cloud-datastore/src/main/java/com/google/cloud/datastore/testing/LocalDatastoreHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private static Path executablePath(String cmd) {
175175

176176
private static class Version implements Comparable<Version> {
177177

178-
private static final Pattern VERSION_PATTERN = Pattern.compile("(\\d+).(\\d+).(\\d+)");
178+
private static final Pattern VERSION_PATTERN = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)$");
179179

180180
final int major;
181181
final int minor;

0 commit comments

Comments
 (0)