This is an automated email from the ASF dual-hosted git repository.
viirya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new c250bbc [HOTFIX] Fix java style
c250bbc is described below
commit c250bbc70f48c268984ea530269d0b66b01cd2b6
Author: Liang-Chi Hsieh <[email protected]>
AuthorDate: Wed Aug 11 18:04:42 2021 -0700
[HOTFIX] Fix java style
### What changes were proposed in this pull request?
Fix a Java style issue blocking CI.
### Why are the changes needed?
Unblocking CI.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
CI
Closes #33715 from viirya/hotfix.
Authored-by: Liang-Chi Hsieh <[email protected]>
Signed-off-by: Liang-Chi Hsieh <[email protected]>
---
.../test/java/org/apache/spark/network/crypto/AuthEngineSuite.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/common/network-common/src/test/java/org/apache/spark/network/crypto/AuthEngineSuite.java
b/common/network-common/src/test/java/org/apache/spark/network/crypto/AuthEngineSuite.java
index d0f2bb6..33a8ce2 100644
---
a/common/network-common/src/test/java/org/apache/spark/network/crypto/AuthEngineSuite.java
+++
b/common/network-common/src/test/java/org/apache/spark/network/crypto/AuthEngineSuite.java
@@ -155,8 +155,8 @@ public class AuthEngineSuite {
try (AuthEngine server = new AuthEngine("appId", "secret", conf)) {
AuthMessage clientChallenge =
AuthMessage.decodeMessage(ByteBuffer.wrap(Hex.decode(clientChallengeHex)));
- // This tests that the server will accept an old challenge as expected.
However, it will generate a fresh
- // ephemeral keypair, so we can't replay an old session.
+ // This tests that the server will accept an old challenge as expected.
However,
+ // it will generate a fresh ephemeral keypair, so we can't replay an old
session.
AuthMessage freshServerResponse = server.response(clientChallenge);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]