Skip to content

Conversation

@fapifta
Copy link
Contributor

@fapifta fapifta commented Jan 17, 2023

What changes were proposed in this pull request?

The certificate.utils package name is clearly a typo, all the contents are in the certificate.xxxx packages, so move classes to the certificate.utils package (which has only a package-info.java), and remove the certificates package.

The exceptions package does not look right with plural, it contains one certificate, and most of our package name is not in plural.

authority.PKIProfiles as a package name is not conforming with the java conventions, package names should be lowercase, therefore renamed it to just profile, for someone who looks into SSL certificates, a certificate profile is a known thing, I don't think we need to keep PKI in the name.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-7792

How was this patch tested?

No tests were done or added, logic was not changed, and all the code changes are in imports, package name values, and fully qualified classnames.

Copy link
Member

@kaijchen kaijchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adoroszlai adoroszlai changed the title HDDS-7792. Handle package name typos in o.a.h.hdds.security.x509 HDDS-7792. Fix package name typos in o.a.h.hdds.security.x509 Jan 19, 2023
@fapifta
Copy link
Contributor Author

fapifta commented Jan 23, 2023

rebased after #4179

@adoroszlai adoroszlai merged commit c25d38f into apache:master Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants