Skip to content

Commit 536b432

Browse files
committed
Clean up code
1 parent 6c2c4bf commit 536b432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ExadataExpress/CloudConnectionManager/java/src/main/java/com/oracle/CloudConnectionManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public static Connection getConnection(File fClientCredentials, String user, Str
9090
jksK.saveAs(keyPath);
9191

9292
System.setProperty("javax.net.ssl.trustStore", trustPath);
93-
System.setProperty("javax.net.ssl.trustStorePassword", passwd.toString());
93+
System.setProperty("javax.net.ssl.trustStorePassword", passwd);
9494
System.setProperty("javax.net.ssl.keyStore", keyPath);
95-
System.setProperty("javax.net.ssl.keyStorePassword", passwd.toString());
95+
System.setProperty("javax.net.ssl.keyStorePassword", passwd);
9696

9797
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@" + serviceName, user, password);
9898
return conn;

0 commit comments

Comments
 (0)