minor improvements on java client based on intellji ide (#13864)

This commit is contained in:
William Cheng
2022-10-30 23:31:04 +08:00
committed by GitHub
parent 684e7a063c
commit 4c19c725a7
44 changed files with 50 additions and 50 deletions

View File

@@ -42,7 +42,7 @@ public class ServerConfiguration {
throw new IllegalArgumentException("The variable " + name + " in the server URL has invalid value " + value + ".");
}
}
url = url.replaceAll("\\{" + name + "\\}", value);
url = url.replace("{" + name + "}", value);
}
return url;
}