Make JdbcUtil#port() public

This allows us to use it from plugins.

Change-Id: I6728ef75d48af078e488cf06f886902d8963c576
This commit is contained in:
David Ostrovsky
2015-11-13 18:17:06 -08:00
parent b8d4fd587e
commit 283f177329

View File

@@ -26,7 +26,7 @@ public class JdbcUtil {
return hostname;
}
static String port(String port) {
public static String port(String port) {
if (port != null && !port.isEmpty()) {
return ":" + port;
}