Skip to content

Commit 0f3767c

Browse files
author
Mark
committed
removed SslTrustStore from configure (not used)
1 parent b76562d commit 0f3767c

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

src/main/java/com/arangodb/ArangoConfigure.java

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ public class ArangoConfigure {
101101

102102
private SSLContext sslContext = null;
103103

104-
private String sslTrustStore = null;
105-
106104
/**
107105
* the default ArangoDB cursor batch size
108106
*/
@@ -271,11 +269,6 @@ private void loadProperties(final InputStream in) throws IOException {
271269
if (useSslProperty != null) {
272270
setUseSsl(Boolean.parseBoolean(useSslProperty));
273271
}
274-
275-
final String sslTrustStoreProperty = prop.getProperty("sslTrustStore");
276-
if (sslTrustStoreProperty != null) {
277-
setSslTrustStore(sslTrustStoreProperty);
278-
}
279272
}
280273

281274
private ArangoHost parseArangoHost(final String str) {
@@ -461,8 +454,7 @@ public String getDefaultDatabase() {
461454
}
462455

463456
/**
464-
* Set the default database for the driver TODO: _system has to be a valid
465-
* parameter
457+
* Set the default database for the driver TODO: _system has to be a valid parameter
466458
*
467459
* @param defaultDatabase
468460
*/
@@ -551,19 +543,4 @@ public void setSslContext(final SSLContext sslContext) {
551543
this.sslContext = sslContext;
552544
}
553545

554-
public String getSslTrustStore() {
555-
return sslTrustStore;
556-
}
557-
558-
/**
559-
* Set file name of trust store
560-
*
561-
* (do not use setSslTrustStore() together with setSslContext())
562-
*
563-
* @param sslTrustStore
564-
*/
565-
public void setSslTrustStore(final String sslTrustStore) {
566-
this.sslTrustStore = sslTrustStore;
567-
}
568-
569546
}

0 commit comments

Comments
 (0)