Skip to content

Commit 674a5b6

Browse files
author
Stephen Asbury
committed
Cleaned up comments from code review, mostly typos in comments.
1 parent 308ac88 commit 674a5b6

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

src/examples/java/io/nats/examples/ExampleUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015-2018 The NATS Authors
1+
// Copyright 2018 The NATS Authors
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at:

src/examples/java/io/nats/examples/NatsDispatch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class NatsDispatch {
2727
static final String usageString =
2828
"\nUsage: java NatsDispatch [server] <subject> <msgCount>\n"
2929
+ "\nUse tls:// or opentls:// to require tls, via the Default SSLContext\n"
30-
+ "\nSet the environment variable NATS_NKEY to use challenge resposne authentication by setting a file containing your private key.\n"
30+
+ "\nSet the environment variable NATS_NKEY to use challenge response authentication by setting a file containing your private key.\n"
3131
+ "\nSet the environment variable NATS_CREDS to use JWT/NKey authentication by setting a file containing your user creds.\n"
3232
+ "\nUse the URL for user/pass/token authentication.\n";
3333

src/examples/java/io/nats/examples/NatsPub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class NatsPub {
2525
static final String usageString =
2626
"\nUsage: java NatsPub [server] <subject> <text message>\n"
2727
+ "\nUse tls:// or opentls:// to require tls, via the Default SSLContext\n"
28-
+ "\nSet the environment variable NATS_NKEY to use challenge resposne authentication by setting a file containing your private key.\n"
28+
+ "\nSet the environment variable NATS_NKEY to use challenge response authentication by setting a file containing your private key.\n"
2929
+ "\nSet the environment variable NATS_CREDS to use JWT/NKey authentication by setting a file containing your user creds.\n"
3030
+ "\nUse the URL for user/pass/token authentication.\n";
3131

src/examples/java/io/nats/examples/NatsQSub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class NatsQSub {
2727
static final String usageString =
2828
"\nUsage: java NatsQSub [server] <subject> <queue> <msgCount>\n"
2929
+ "\nUse tls:// or opentls:// to require tls, via the Default SSLContext\n"
30-
+ "\nSet the environment variable NATS_NKEY to use challenge resposne authentication by setting a file containing your private key.\n"
30+
+ "\nSet the environment variable NATS_NKEY to use challenge response authentication by setting a file containing your private key.\n"
3131
+ "\nSet the environment variable NATS_CREDS to use JWT/NKey authentication by setting a file containing your user creds.\n"
3232
+ "\nUse the URL for user/pass/token authentication.\n";
3333

src/examples/java/io/nats/examples/NatsReply.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class NatsReply {
2727
static final String usageString =
2828
"\nUsage: java NatsReply [server] <subject> <msgCount>\n"
2929
+ "\nUse tls:// or opentls:// to require tls, via the Default SSLContext\n"
30-
+ "\nSet the environment variable NATS_NKEY to use challenge resposne authentication by setting a file containing your private key.\n"
30+
+ "\nSet the environment variable NATS_NKEY to use challenge response authentication by setting a file containing your private key.\n"
3131
+ "\nSet the environment variable NATS_CREDS to use JWT/NKey authentication by setting a file containing your user creds.\n"
3232
+ "\nUse the URL for user/pass/token authentication.\n";
3333

src/examples/java/io/nats/examples/NatsReq.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class NatsReq {
2727
static final String usageString =
2828
"\nUsage: java NatsReq [server] <subject> <text message>\n"
2929
+ "\nUse tls:// or opentls:// to require tls, via the Default SSLContext\n"
30-
+ "\nSet the environment variable NATS_NKEY to use challenge resposne authentication by setting a file containing your private key.\n"
30+
+ "\nSet the environment variable NATS_NKEY to use challenge response authentication by setting a file containing your private key.\n"
3131
+ "\nSet the environment variable NATS_CREDS to use JWT/NKey authentication by setting a file containing your user creds.\n"
3232
+ "\nUse the URL for user/pass/token authentication.\n";
3333

src/examples/java/io/nats/examples/NatsSub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class NatsSub {
2727
static final String usageString =
2828
"\nUsage: java NatsSub [server] <subject> <msgCount>\n"
2929
+ "\nUse tls:// or opentls:// to require tls, via the Default SSLContext\n"
30-
+ "\nSet the environment variable NATS_NKEY to use challenge resposne authentication by setting a file containing your private key.\n"
30+
+ "\nSet the environment variable NATS_NKEY to use challenge response authentication by setting a file containing your private key.\n"
3131
+ "\nSet the environment variable NATS_CREDS to use JWT/NKey authentication by setting a file containing your user creds.\n"
3232
+ "\nUse the URL for user/pass/token authentication.\n";
3333

src/main/java/io/nats/client/impl/FileAuthHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015-2018 The NATS Authors
1+
// Copyright 2018 The NATS Authors
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at:

src/test/java/io/nats/client/impl/FileAuthHandlerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015-2018 The NATS Authors
1+
// Copyright 2018 The NATS Authors
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at:

0 commit comments

Comments
 (0)