summaryrefslogtreecommitdiff
path: root/tutorial/java/src/JavaClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/java/src/JavaClient.java')
-rw-r--r--tutorial/java/src/JavaClient.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/java/src/JavaClient.java b/tutorial/java/src/JavaClient.java
index 2e35d412a..bd0a15588 100644
--- a/tutorial/java/src/JavaClient.java
+++ b/tutorial/java/src/JavaClient.java
@@ -47,11 +47,11 @@ public class JavaClient {
/*
* Similar to the server, you can use the parameters to setup client parameters or
* use the default settings. On the client side, you will need a TrustStore which
- * contains the trusted certificate along with the public key.
- * For this example it's a self-signed cert.
+ * contains the trusted certificate along with the public key.
+ * For this example it's a self-signed cert.
*/
TSSLTransportParameters params = new TSSLTransportParameters();
- params.setTrustStore("../../lib/java/test/.truststore", "thrift", "SunX509", "JKS");
+ params.setTrustStore("../../lib/java/test/resources/.truststore", "thrift", "SunX509", "JKS");
/*
* Get a client transport instead of a server transport. The connection is opened on
* invocation of the factory method, no need to specifically call open()
@@ -67,7 +67,7 @@ public class JavaClient {
transport.close();
} catch (TException x) {
x.printStackTrace();
- }
+ }
}
private static void perform(Calculator.Client client) throws TException