Skip to content

Commit

Permalink
fix: fix the regex in Versions.java to actually split on '.' (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpcollins-google committed May 19, 2020
1 parent c21965a commit b9371b1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ private Versions() {}
private static String[] GetVersionSplits() {
try {
String versionString = GaxProperties.getLibraryVersion(Versions.class);
return versionString.split(".");
return versionString.split("\\.");
} catch (Exception e) {
return new String[0];
}
Expand Down

0 comments on commit b9371b1

Please sign in to comment.