Skip to content

Commit

Permalink
HBASE-26666. Spotless fix 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnar committed Jul 21, 2022
1 parent a826753 commit 111f518
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@

/**
* This file has been copied from the Apache ZooKeeper project.
* @see <a href="https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Exception.java">Base revision</a>
* @see <a href=
* "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Exception.java">Base
* revision</a>
*/
@SuppressWarnings("serial")
@InterfaceAudience.Private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@
/**
* This enum represents the file type of a KeyStore or TrustStore. Currently, JKS (Java keystore),
* PEM, PKCS12, and BCFKS types are supported.
*
* <p/>
* This file has been copied from the Apache ZooKeeper project.
* @see <a href="https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/KeyStoreFileType.java">Base revision</a>
* @see <a href=
* "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/KeyStoreFileType.java">Base
* revision</a>
*/
@InterfaceAudience.Private
public enum KeyStoreFileType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@

/**
* This file has been copied from the Apache ZooKeeper project.
* @see <a href="https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/SSLContextAndOptions.java">Base revision</a>
* @see <a href=
* "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/SSLContextAndOptions.java">Base
* revision</a>
*/
@InterfaceAudience.Private
public class SSLContextAndOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@
* Utility code for X509 handling Default cipher suites: Performance testing done by Facebook
* engineers shows that on Intel x86_64 machines, Java9 performs better with GCM and Java8 performs
* better with CBC, so these seem like reasonable defaults.
*
* <p/>
* This file has been copied from the Apache ZooKeeper project.
* @see <a href="https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java">Base revision</a>
* @see <a href=
* "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java">Base
* revision</a>
*/
@InterfaceAudience.Private
public class X509Util {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
* parameter combinations (CA key type, cert key type, with/without a password, with/without
* hostname verification, etc). This base class takes care of setting up / cleaning up the test
* environment, and caching the X509TestContext objects used by the tests.
*
* <p/>
* This file has been copied from the Apache ZooKeeper project.
* @see <a href="https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/test/java/org/apache/zookeeper/common/BaseX509ParameterizedTestCase.java">Base revision</a>
* @see <a href=
* "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/test/java/org/apache/zookeeper/common/BaseX509ParameterizedTestCase.java">Base
* revision</a>
*/
public abstract class BaseX509ParameterizedTestCase {
protected static final String KEY_NON_EMPTY_PASSWORD = "pa$$w0rd";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@

/**
* This file has been copied from the Apache ZooKeeper project.
* @see <a href="https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/test/java/org/apache/zookeeper/common/X509UtilTest.java">Base revision</a>
* @see <a href=
* "https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/test/java/org/apache/zookeeper/common/X509UtilTest.java">Base
* revision</a>
*/
@RunWith(Parameterized.class)
@Category({ MiscTests.class, SmallTests.class })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
/**
* Represents a type of key pair used for X509 certs in tests. The two options are RSA or EC
* (elliptic curve).
*
* <p/>
* This file has been copied from the Apache ZooKeeper project.
* @see <a href="https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/test/java/org/apache/zookeeper/common/X509KeyType.java">Base revision</a>
* @see <a href=
* "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/test/java/org/apache/zookeeper/common/X509KeyType.java">Base
* revision</a>
*/
public enum X509KeyType {
RSA,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@

/**
* This class simplifies the creation of certificates and private keys for SSL/TLS connections.
*
* <p/>
* This file has been copied from the Apache ZooKeeper project.
* @see <a href="https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/test/java/org/apache/zookeeper/common/X509TestContext.java">Base revision</a>
* @see <a href=
* "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/test/java/org/apache/zookeeper/common/X509TestContext.java">Base
* revision</a>
*/
@InterfaceAudience.Private
public final class X509TestContext {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
/**
* This class contains helper methods for creating X509 certificates and key pairs, and for
* serializing them to JKS, PEM or other keystore type files.
*
* <p/>
* This file has been copied from the Apache ZooKeeper project.
* @see <a href=
* "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/test/java/org/apache/zookeeper/common/X509TestHelpers.java">Base
Expand Down

0 comments on commit 111f518

Please sign in to comment.